#CF56E9#CF56E9

#CF56E9 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.231 H 320.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CF56E9
RGBrgb(207, 86, 233)
HSLhsl(289, 77%, 63%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(11.2%, 63.1%, 0%, 8.6%)
CIE-LABlab(57.85, 67.77, -52.95)
CIE-LCHlch(57.85, 86.01, 322.00°)
OKLaboklab(66.58% 0.177 -0.1478)
OKLCHoklch(66.58% 0.231 320.1)
XYZxyz(43.7661, 25.8062, 79.7508)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56E9 #70E956
analogous
#8656E9 #CF56E9 #E956B9
triadic
#CF56E9 #E9CF56 #56E9CF
tetradic
#CF56E9 #E98656 #70E956 #56B9E9
square
#CF56E9 #E98656 #70E956 #56B9E9
split-complementary
#CF56E9 #B9E956 #56E986
monochromatic
#9317AE #C020E2 #CF56E9 #DE8CF0 #EEC2F7

Accessibility & contrast

On white

3.41
#CF56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CF56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56E9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56E9#FFFFFF#000000##000000
##CF56E91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83ED
Deuteranopia (green-blind)
#638FE5
Tritanopia (blue-blind)
#D06F98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf56e9;
/* rgb */ color: rgb(207, 86, 233);
/* oklch */ color: oklch(66.6% 0.231 320.1);
Tailwind
colors: {
  custom: {
    50: '#e18df1',
    500: '#cf56e9',
    950: '#000000',
  },
}
SCSS
$custom: #cf56e9;
$custom-light: #e18df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56e9",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 289.388,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.23059,
    "h": 320.1
  },
  "luminance": 0.25804
}

Semantic roles & 50–950 ramp

primary
#CF56E9
secondary
#BCE8B3
accent
#D90C31
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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