#CF5EC8#CF5EC8

#CF5EC8 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.190 H 329.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CF5EC8
RGBrgb(207, 94, 200)
HSLhsl(304, 54%, 59%)
HSVhsv(304, 55%, 81%)
CMYKcmyk(0%, 54.6%, 3.4%, 18.8%)
CIE-LABlab(57.51, 58.36, -34.86)
CIE-LCHlch(57.51, 67.98, 329.15°)
OKLaboklab(65.8% 0.1648 -0.0955)
OKLCHoklch(65.8% 0.19 329.9)
XYZxyz(40.1598, 25.4435, 57.4282)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EC8 #5ECF65
analogous
#9E5ECF #CF5EC8 #CF5E90
triadic
#CF5EC8 #C8CF5E #5EC8CF
tetradic
#CF5EC8 #CF9E5E #5ECF65 #5E90CF
square
#CF5EC8 #CF9E5E #5ECF65 #5E90CF
split-complementary
#CF5EC8 #90CF5E #5ECF9E
monochromatic
#8A2984 #B937B1 #CF5EC8 #DD8DD8 #EBBCE8

Accessibility & contrast

On white

3.45
#CF5EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CF5EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EC8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EC8#FFFFFF#000000##000000
##CF5EC81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#7A90C5
Tritanopia (blue-blind)
#D6698A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5ec8;
/* rgb */ color: rgb(207, 94, 200);
/* oklch */ color: oklch(65.8% 0.190 329.9);
Tailwind
colors: {
  custom: {
    50: '#e091d9',
    500: '#cf5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ec8;
$custom-light: #e091d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ec8",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 303.717,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65798,
    "c": 0.19047,
    "h": 329.9
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#CF5EC8
secondary
#AEDBB1
accent
#DD534A
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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