#CF2FCF#CF2FCF

#CF2FCF is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.7% C 0.253 H 328.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF2FCF
RGBrgb(207, 47, 207)
HSLhsl(300, 63%, 50%)
HSVhsv(300, 77%, 81%)
CMYKcmyk(0%, 77.3%, 0%, 18.8%)
CIE-LABlab(51.62, 76.92, -48.15)
CIE-LCHlch(51.62, 90.75, 327.96°)
OKLaboklab(61.65% 0.2147 -0.1336)
OKLCHoklch(61.65% 0.253 328.1)
XYZxyz(38.0107, 19.8063, 60.8404)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2FCF #2FCF2F
analogous
#7F2FCF #CF2FCF #CF2F7F
triadic
#CF2FCF #CFCF2F #2FCFCF
tetradic
#CF2FCF #CF7F2F #2FCF2F #2F7FCF
square
#CF2FCF #CF7F2F #2FCF2F #2F7FCF
split-complementary
#CF2FCF #7FCF2F #2FCF7F
monochromatic
#6B186B #9D249D #CF2FCF #DB60DB #E692E6

Accessibility & contrast

On white

4.23
#CF2FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF2FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2FCF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2FCF#FFFFFF#000000##000000
##CF2FCF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#D64B7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf2fcf;
/* rgb */ color: rgb(207, 47, 207);
/* oklch */ color: oklch(61.7% 0.253 328.1);
Tailwind
colors: {
  custom: {
    50: '#e27ade',
    500: '#cf2fcf',
    950: '#000000',
  },
}
SCSS
$custom: #cf2fcf;
$custom-light: #e27ade;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2fcf",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.25289,
    "h": 328.1
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#CF2FCF
secondary
#89D189
accent
#E64242
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF2FCF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CF2FCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva