#CF51EE#CF51EE

#CF51EE is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.241 H 319.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CF51EE
RGBrgb(207, 81, 238)
HSLhsl(288, 82%, 63%)
HSVhsv(288, 66%, 93%)
CMYKcmyk(13%, 66%, 0%, 6.7%)
CIE-LABlab(57.39, 70.76, -56.48)
CIE-LCHlch(57.39, 90.54, 321.40°)
OKLaboklab(66.34% 0.1824 -0.1581)
OKLCHoklch(66.34% 0.241 319.1)
XYZxyz(44.1052, 25.3253, 83.4374)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF51EE #70EE51
analogous
#8151EE #CF51EE #EE51BE
triadic
#CF51EE #EECF51 #51EECF
tetradic
#CF51EE #EE8151 #70EE51 #51BEEE
square
#CF51EE #EE8151 #70EE51 #51BEEE
split-complementary
#CF51EE #BEEE51 #51EE81
monochromatic
#9311B3 #C019E9 #CF51EE #DE89F3 #EEC1F9

Accessibility & contrast

On white

3.46
#CF51EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CF51EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF51EE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF51EE#FFFFFF#000000##000000
##CF51EE1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F3
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#CF6D99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf51ee;
/* rgb */ color: rgb(207, 81, 238);
/* oklch */ color: oklch(66.3% 0.241 319.1);
Tailwind
colors: {
  custom: {
    50: '#e18bf4',
    500: '#cf51ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf51ee;
$custom-light: #e18bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf51ee",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 288.153,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66341,
    "c": 0.24137,
    "h": 319.1
  },
  "luminance": 0.25323
}

Semantic roles & 50–950 ramp

primary
#CF51EE
secondary
#BCEAB1
accent
#DF0731
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160D17
muted
#847D85

Preview Lab

Preview with #CF51EE

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

Preview Lab → · Contrast checker → · Palette generator →

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