#CF56EE#CF56EE

#CF56EE is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.9% C 0.235 H 318.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CF56EE
RGBrgb(207, 86, 238)
HSLhsl(288, 82%, 64%)
HSVhsv(288, 64%, 93%)
CMYKcmyk(13%, 63.9%, 0%, 6.7%)
CIE-LABlab(58.13, 68.70, -55.31)
CIE-LCHlch(58.13, 88.20, 321.17°)
OKLaboklab(66.87% 0.177 -0.1547)
OKLCHoklch(66.87% 0.235 318.8)
XYZxyz(44.4905, 26.0960, 83.5658)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56EE #75EE56
analogous
#8356EE #CF56EE #EE56C1
triadic
#CF56EE #EECF56 #56EECF
tetradic
#CF56EE #EE8356 #75EE56 #56C1EE
square
#CF56EE #EE8356 #75EE56 #56C1EE
split-complementary
#CF56EE #C1EE56 #56EE83
monochromatic
#9612B7 #BF1EE8 #CF56EE #DF8EF4 #EFC5F9

Accessibility & contrast

On white

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

On black

6.22
#CF56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56EE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56EE#FFFFFF#000000##000000
##CF56EE1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#CF719B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf56ee;
/* rgb */ color: rgb(207, 86, 238);
/* oklch */ color: oklch(66.9% 0.235 318.8);
Tailwind
colors: {
  custom: {
    50: '#e18df4',
    500: '#cf56ee',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ee;
$custom-light: #e18df4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ee",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 287.763,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.23505,
    "h": 318.8
  },
  "luminance": 0.26094
}

Semantic roles & 50–950 ramp

primary
#CF56EE
secondary
#C0EBB5
accent
#DE0733
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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