#CF56E4#CF56E4

#CF56E4 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.226 H 321.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CF56E4
RGBrgb(207, 86, 228)
HSLhsl(291, 72%, 62%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(9.2%, 62.3%, 0%, 10.6%)
CIE-LABlab(57.58, 66.85, -50.58)
CIE-LCHlch(57.58, 83.83, 322.89°)
OKLaboklab(66.3% 0.1769 -0.1409)
OKLCHoklch(66.3% 0.226 321.5)
XYZxyz(43.0620, 25.5246, 76.0423)
Luminance0.2552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56E4 #6BE456
analogous
#8856E4 #CF56E4 #E456B2
triadic
#CF56E4 #E4CF56 #56E4CF
tetradic
#CF56E4 #E48856 #6BE456 #56B2E4
square
#CF56E4 #E48856 #6BE456 #56B2E4
split-complementary
#CF56E4 #B2E456 #56E488
monochromatic
#911AA5 #BF23DA #CF56E4 #DE8BEC #EDC0F5

Accessibility & contrast

On white

3.44
#CF56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CF56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56E4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56E4#FFFFFF#000000##000000
##CF56E41.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#668FE0
Tritanopia (blue-blind)
#D16D96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf56e4;
/* rgb */ color: rgb(207, 86, 228);
/* oklch */ color: oklch(66.3% 0.226 321.5);
Tailwind
colors: {
  custom: {
    50: '#e18ded',
    500: '#cf56e4',
    950: '#000000',
  },
}
SCSS
$custom: #cf56e4;
$custom-light: #e18ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56e4",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 291.127,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66302,
    "c": 0.22617,
    "h": 321.5
  },
  "luminance": 0.25522
}

Semantic roles & 50–950 ramp

primary
#CF56E4
secondary
#B8E5B0
accent
#D5112E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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