#CF56E1#CF56E1

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

Color values

HEX#CF56E1
RGBrgb(207, 86, 225)
HSLhsl(292, 70%, 61%)
HSVhsv(292, 62%, 88%)
CMYKcmyk(8%, 61.8%, 0%, 11.8%)
CIE-LABlab(57.42, 66.31, -49.14)
CIE-LCHlch(57.42, 82.53, 323.46°)
OKLaboklab(66.14% 0.1768 -0.1367)
OKLCHoklch(66.14% 0.224 322.3)
XYZxyz(42.6491, 25.3594, 73.8680)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56E1 #68E156
analogous
#8956E1 #CF56E1 #E156AD
triadic
#CF56E1 #E1CF56 #56E1CF
tetradic
#CF56E1 #E18956 #68E156 #56ADE1
square
#CF56E1 #E18956 #68E156 #56ADE1
split-complementary
#CF56E1 #ADE156 #56E189
monochromatic
#8F1CA0 #BE26D4 #CF56E1 #DE8AEA #EDBEF3

Accessibility & contrast

On white

3.46
#CF56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CF56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56E1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56E1#FFFFFF#000000##000000
##CF56E11.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E5
Deuteranopia (green-blind)
#688FDD
Tritanopia (blue-blind)
#D26C94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf56e1;
/* rgb */ color: rgb(207, 86, 225);
/* oklch */ color: oklch(66.1% 0.224 322.3);
Tailwind
colors: {
  custom: {
    50: '#e18deb',
    500: '#cf56e1',
    950: '#000000',
  },
}
SCSS
$custom: #cf56e1;
$custom-light: #e18deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56e1",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 292.23,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66136,
    "c": 0.22353,
    "h": 322.3
  },
  "luminance": 0.25357
}

Semantic roles & 50–950 ramp

primary
#CF56E1
secondary
#B6E4AF
accent
#D2142C
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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