#CF56E3#CF56E3

#CF56E3 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.2% C 0.225 H 321.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CF56E3
RGBrgb(207, 86, 227)
HSLhsl(291, 72%, 61%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(8.8%, 62.1%, 0%, 11%)
CIE-LABlab(57.53, 66.67, -50.10)
CIE-LCHlch(57.53, 83.40, 323.08°)
OKLaboklab(66.25% 0.1769 -0.1395)
OKLCHoklch(66.25% 0.225 321.7)
XYZxyz(42.9235, 25.4692, 75.3133)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56E3 #6AE356
analogous
#8956E3 #CF56E3 #E356B1
triadic
#CF56E3 #E3CF56 #56E3CF
tetradic
#CF56E3 #E38956 #6AE356 #56B1E3
square
#CF56E3 #E38956 #6AE356 #56B1E3
split-complementary
#CF56E3 #B1E356 #56E389
monochromatic
#901BA4 #BE24D8 #CF56E3 #DE8BEC #EDBFF4

Accessibility & contrast

On white

3.45
#CF56E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CF56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56E3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56E3#FFFFFF#000000##000000
##CF56E31.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E7
Deuteranopia (green-blind)
#668FDF
Tritanopia (blue-blind)
#D16C95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf56e3;
/* rgb */ color: rgb(207, 86, 227);
/* oklch */ color: oklch(66.2% 0.225 321.7);
Tailwind
colors: {
  custom: {
    50: '#e18dec',
    500: '#cf56e3',
    950: '#000000',
  },
}
SCSS
$custom: #cf56e3;
$custom-light: #e18dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56e3",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 291.489,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66246,
    "c": 0.22528,
    "h": 321.7
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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