#CF56EF#CF56EF

#CF56EF is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.236 H 318.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CF56EF
RGBrgb(207, 86, 239)
HSLhsl(287, 83%, 64%)
HSVhsv(287, 64%, 94%)
CMYKcmyk(13.4%, 64%, 0%, 6.3%)
CIE-LABlab(58.18, 68.89, -55.77)
CIE-LCHlch(58.18, 88.64, 321.01°)
OKLaboklab(66.93% 0.177 -0.1561)
OKLCHoklch(66.93% 0.236 318.6)
XYZxyz(44.6378, 26.1549, 84.3417)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56EF #76EF56
analogous
#8256EF #CF56EF #EF56C2
triadic
#CF56EF #EFCF56 #56EFCF
tetradic
#CF56EF #EF8256 #76EF56 #56C2EF
square
#CF56EF #EF8256 #76EF56 #56C2EF
split-complementary
#CF56EF #C2EF56 #56EF82
monochromatic
#9612B9 #BF1EEA #CF56EF #DF8EF4 #EFC6FA

Accessibility & contrast

On white

3.37
#CF56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CF56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56EF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56EF#FFFFFF#000000##000000
##CF56EF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F4
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#CF719B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf56ef;
/* rgb */ color: rgb(207, 86, 239);
/* oklch */ color: oklch(66.9% 0.236 318.6);
Tailwind
colors: {
  custom: {
    50: '#e18df5',
    500: '#cf56ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ef;
$custom-light: #e18df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ef",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 287.451,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6693,
    "c": 0.23594,
    "h": 318.6
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#CF56EF
secondary
#C1EBB5
accent
#DF0634
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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