#CF5CE9#CF5CE9

#CF5CE9 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.223 H 319.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CF5CE9
RGBrgb(207, 92, 233)
HSLhsl(289, 76%, 64%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(11.2%, 60.5%, 0%, 8.6%)
CIE-LABlab(58.79, 65.18, -51.45)
CIE-LCHlch(58.79, 83.04, 321.71°)
OKLaboklab(67.27% 0.1701 -0.1435)
OKLCHoklch(67.27% 0.223 319.8)
XYZxyz(44.2654, 26.8049, 79.9172)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CE9 #76E95C
analogous
#885CE9 #CF5CE9 #E95CBC
triadic
#CF5CE9 #E9CF5C #5CE9CF
tetradic
#CF5CE9 #E9885C #76E95C #5CBCE9
square
#CF5CE9 #E9885C #76E95C #5CBCE9
split-complementary
#CF5CE9 #BCE95C #5CE988
monochromatic
#9618B3 #BF26E2 #CF5CE9 #DF92F0 #EFC8F8

Accessibility & contrast

On white

3.30
#CF5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CF5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CE9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CE9#FFFFFF#000000##000000
##CF5CE91.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985ED
Deuteranopia (green-blind)
#6792E5
Tritanopia (blue-blind)
#D0739A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5ce9;
/* rgb */ color: rgb(207, 92, 233);
/* oklch */ color: oklch(67.3% 0.223 319.8);
Tailwind
colors: {
  custom: {
    50: '#e191f0',
    500: '#cf5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ce9;
$custom-light: #e191f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ce9",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 288.936,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.22251,
    "h": 319.8
  },
  "luminance": 0.26803
}

Semantic roles & 50–950 ramp

primary
#CF5CE9
secondary
#C1E9B8
accent
#D80D33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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