#CF5FE4#CF5FE4

#CF5FE4 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.3% C 0.214 H 321.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CF5FE4
RGBrgb(207, 95, 228)
HSLhsl(291, 71%, 63%)
HSVhsv(291, 58%, 89%)
CMYKcmyk(9.2%, 58.3%, 0%, 10.6%)
CIE-LABlab(59.02, 62.90, -48.29)
CIE-LCHlch(59.02, 79.30, 322.49°)
OKLaboklab(67.35% 0.1662 -0.1343)
OKLCHoklch(67.35% 0.214 321.1)
XYZxyz(43.8263, 27.0533, 76.2970)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FE4 #74E45F
analogous
#8C5FE4 #CF5FE4 #E45FB7
triadic
#CF5FE4 #E4CF5F #5FE4CF
tetradic
#CF5FE4 #E48C5F #74E45F #5FB7E4
square
#CF5FE4 #E48C5F #74E45F #5FB7E4
split-complementary
#CF5FE4 #B7E45F #5FE48C
monochromatic
#951DAC #BF2BDB #CF5FE4 #DF93ED #EEC8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5FE4#FFFFFF#000000##000000
##CF5FE41.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)
#4386E8
Deuteranopia (green-blind)
#6C92E1
Tritanopia (blue-blind)
#D17399
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5fe4;
/* rgb */ color: rgb(207, 95, 228);
/* oklch */ color: oklch(67.3% 0.214 321.1);
Tailwind
colors: {
  custom: {
    50: '#e192ed',
    500: '#cf5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fe4;
$custom-light: #e192ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fe4",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 290.526,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67349,
    "c": 0.21372,
    "h": 321.1
  },
  "luminance": 0.27051
}

Semantic roles & 50–950 ramp

primary
#CF5FE4
secondary
#BFE7B8
accent
#D31231
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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