#CF56ED#CF56ED

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

Color values

HEX#CF56ED
RGBrgb(207, 86, 237)
HSLhsl(288, 81%, 63%)
HSVhsv(288, 64%, 93%)
CMYKcmyk(12.7%, 63.7%, 0%, 7.1%)
CIE-LABlab(58.07, 68.52, -54.84)
CIE-LCHlch(58.07, 87.76, 321.33°)
OKLaboklab(66.81% 0.177 -0.1533)
OKLCHoklch(66.81% 0.234 319.1)
XYZxyz(44.3440, 26.0374, 82.7943)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56ED #74ED56
analogous
#8356ED #CF56ED #ED56C0
triadic
#CF56ED #EDCF56 #56EDCF
tetradic
#CF56ED #ED8356 #74ED56 #56C0ED
square
#CF56ED #ED8356 #74ED56 #56C0ED
split-complementary
#CF56ED #C0ED56 #56ED83
monochromatic
#9513B5 #BF1FE7 #CF56ED #DF8DF3 #EEC5F9

Accessibility & contrast

On white

3.38
#CF56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CF56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56ED
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56ED#FFFFFF#000000##000000
##CF56ED1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F2
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#CF709A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf56ed;
/* rgb */ color: rgb(207, 86, 237);
/* oklch */ color: oklch(66.8% 0.234 319.1);
Tailwind
colors: {
  custom: {
    50: '#e18df3',
    500: '#cf56ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ed;
$custom-light: #e18df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ed",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 288.079,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.23415,
    "h": 319.1
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#CF56ED
secondary
#BFEAB4
accent
#DD0833
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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