#CF56EC#CF56EC

#CF56EC is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.233 H 319.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CF56EC
RGBrgb(207, 86, 236)
HSLhsl(288, 80%, 63%)
HSVhsv(288, 64%, 93%)
CMYKcmyk(12.3%, 63.6%, 0%, 7.5%)
CIE-LABlab(58.02, 68.33, -54.37)
CIE-LCHlch(58.02, 87.32, 321.49°)
OKLaboklab(66.76% 0.177 -0.1519)
OKLCHoklch(66.76% 0.233 319.4)
XYZxyz(44.1983, 25.9791, 82.0270)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56EC #73EC56
analogous
#8456EC #CF56EC #EC56BE
triadic
#CF56EC #ECCF56 #56ECCF
tetradic
#CF56EC #EC8456 #73EC56 #56BEEC
square
#CF56EC #EC8456 #73EC56 #56BEEC
split-complementary
#CF56EC #BEEC56 #56EC84
monochromatic
#9514B3 #BF1FE6 #CF56EC #DF8DF2 #EEC4F8

Accessibility & contrast

On white

3.39
#CF56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CF56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56EC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56EC#FFFFFF#000000##000000
##CF56EC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F1
Deuteranopia (green-blind)
#6090E8
Tritanopia (blue-blind)
#CF709A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf56ec;
/* rgb */ color: rgb(207, 86, 236);
/* oklch */ color: oklch(66.8% 0.233 319.4);
Tailwind
colors: {
  custom: {
    50: '#e18df3',
    500: '#cf56ec',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ec;
$custom-light: #e18df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ec",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 288.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.23326,
    "h": 319.4
  },
  "luminance": 0.25977
}

Semantic roles & 50–950 ramp

primary
#CF56EC
secondary
#BEEAB4
accent
#DC0932
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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