#CF56E5#CF56E5

#CF56E5 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.227 H 321.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CF56E5
RGBrgb(207, 86, 229)
HSLhsl(291, 73%, 62%)
HSVhsv(291, 62%, 90%)
CMYKcmyk(9.6%, 62.4%, 0%, 10.2%)
CIE-LABlab(57.64, 67.04, -51.05)
CIE-LCHlch(57.64, 84.26, 322.71°)
OKLaboklab(66.36% 0.1769 -0.1423)
OKLCHoklch(66.36% 0.227 321.2)
XYZxyz(43.2012, 25.5803, 76.7755)
Luminance0.2558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56E5 #6CE556
analogous
#8856E5 #CF56E5 #E556B4
triadic
#CF56E5 #E5CF56 #56E5CF
tetradic
#CF56E5 #E58856 #6CE556 #56B4E5
square
#CF56E5 #E58856 #6CE556 #56B4E5
split-complementary
#CF56E5 #B4E556 #56E588
monochromatic
#911AA7 #BF22DC #CF56E5 #DE8BED #EDC0F5

Accessibility & contrast

On white

3.43
#CF56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CF56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56E5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56E5#FFFFFF#000000##000000
##CF56E51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3282E9
Deuteranopia (green-blind)
#658FE1
Tritanopia (blue-blind)
#D16D96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf56e5;
/* rgb */ color: rgb(207, 86, 229);
/* oklch */ color: oklch(66.4% 0.227 321.2);
Tailwind
colors: {
  custom: {
    50: '#e18dee',
    500: '#cf56e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf56e5;
$custom-light: #e18dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56e5",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 290.769,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.22705,
    "h": 321.2
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#CF56E5
secondary
#B9E6B1
accent
#D5102E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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