#CF5DEA#CF5DEA

#CF5DEA is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.222 H 319.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CF5DEA
RGBrgb(207, 93, 234)
HSLhsl(289, 77%, 64%)
HSVhsv(289, 60%, 92%)
CMYKcmyk(11.5%, 60.3%, 0%, 8.2%)
CIE-LABlab(59.01, 64.93, -51.67)
CIE-LCHlch(59.01, 82.98, 321.49°)
OKLaboklab(67.44% 0.1689 -0.1441)
OKLCHoklch(67.44% 0.222 319.5)
XYZxyz(44.4959, 27.0366, 80.7007)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DEA #78EA5D
analogous
#895DEA #CF5DEA #EA5DBE
triadic
#CF5DEA #EACF5D #5DEACF
tetradic
#CF5DEA #EA895D #78EA5D #5DBEEA
square
#CF5DEA #EA895D #78EA5D #5DBEEA
split-complementary
#CF5DEA #BEEA5D #5DEA89
monochromatic
#9717B5 #BF27E3 #CF5DEA #DF93F1 #EFC9F8

Accessibility & contrast

On white

3.28
#CF5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#CF5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DEA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DEA#FFFFFF#000000##000000
##CF5DEA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#D0749B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5dea;
/* rgb */ color: rgb(207, 93, 234);
/* oklch */ color: oklch(67.4% 0.222 319.5);
Tailwind
colors: {
  custom: {
    50: '#e191f1',
    500: '#cf5dea',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dea;
$custom-light: #e191f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dea",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 288.511,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67439,
    "c": 0.22204,
    "h": 319.5
  },
  "luminance": 0.27035
}

Semantic roles & 50–950 ramp

primary
#CF5DEA
secondary
#C2EAB9
accent
#D90C33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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