#CF56E2#CF56E2

#CF56E2 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.224 H 322.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CF56E2
RGBrgb(207, 86, 226)
HSLhsl(292, 71%, 61%)
HSVhsv(292, 62%, 89%)
CMYKcmyk(8.4%, 61.9%, 0%, 11.4%)
CIE-LABlab(57.48, 66.49, -49.62)
CIE-LCHlch(57.48, 82.96, 323.27°)
OKLaboklab(66.19% 0.1769 -0.1381)
OKLCHoklch(66.19% 0.224 322)
XYZxyz(42.7859, 25.4142, 74.5885)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56E2 #69E256
analogous
#8956E2 #CF56E2 #E256AF
triadic
#CF56E2 #E2CF56 #56E2CF
tetradic
#CF56E2 #E28956 #69E256 #56AFE2
square
#CF56E2 #E28956 #69E256 #56AFE2
split-complementary
#CF56E2 #AFE256 #56E289
monochromatic
#901CA2 #BE25D6 #CF56E2 #DE8AEB #EDBEF4

Accessibility & contrast

On white

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

On black

6.08
#CF56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56E2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56E2#FFFFFF#000000##000000
##CF56E21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#678FDE
Tritanopia (blue-blind)
#D16C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf56e2;
/* rgb */ color: rgb(207, 86, 226);
/* oklch */ color: oklch(66.2% 0.224 322.0);
Tailwind
colors: {
  custom: {
    50: '#e18dec',
    500: '#cf56e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf56e2;
$custom-light: #e18dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56e2",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 291.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66191,
    "c": 0.22441,
    "h": 322
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#CF56E2
secondary
#B7E4B0
accent
#D3132D
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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