#CF56E8#CF56E8

#CF56E8 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.230 H 320.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CF56E8
RGBrgb(207, 86, 232)
HSLhsl(290, 76%, 62%)
HSVhsv(290, 63%, 91%)
CMYKcmyk(10.8%, 62.9%, 0%, 9%)
CIE-LABlab(57.80, 67.59, -52.48)
CIE-LCHlch(57.80, 85.57, 322.17°)
OKLaboklab(66.53% 0.177 -0.1464)
OKLCHoklch(66.53% 0.23 320.4)
XYZxyz(43.6237, 25.7493, 79.0006)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56E8 #6FE856
analogous
#8656E8 #CF56E8 #E856B8
triadic
#CF56E8 #E8CF56 #56E8CF
tetradic
#CF56E8 #E88656 #6FE856 #56B8E8
square
#CF56E8 #E88656 #6FE856 #56B8E8
split-complementary
#CF56E8 #B8E856 #56E886
monochromatic
#9317AC #C020E1 #CF56E8 #DE8CEF #EEC2F7

Accessibility & contrast

On white

3.41
#CF56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CF56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56E8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56E8#FFFFFF#000000##000000
##CF56E81.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#638FE4
Tritanopia (blue-blind)
#D06E98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf56e8;
/* rgb */ color: rgb(207, 86, 232);
/* oklch */ color: oklch(66.5% 0.230 320.4);
Tailwind
colors: {
  custom: {
    50: '#e18df0',
    500: '#cf56e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf56e8;
$custom-light: #e18df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56e8",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 289.726,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66527,
    "c": 0.2297,
    "h": 320.4
  },
  "luminance": 0.25747
}

Semantic roles & 50–950 ramp

primary
#CF56E8
secondary
#BBE8B2
accent
#D80D30
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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