#CF56CB#CF56CB

#CF56CB is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.0% C 0.205 H 328.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CF56CB
RGBrgb(207, 86, 203)
HSLhsl(302, 56%, 57%)
HSVhsv(302, 58%, 81%)
CMYKcmyk(0%, 58.5%, 1.9%, 18.8%)
CIE-LABlab(56.32, 62.46, -38.42)
CIE-LCHlch(56.32, 73.33, 328.40°)
OKLaboklab(64.98% 0.1754 -0.1057)
OKLCHoklch(64.98% 0.205 328.9)
XYZxyz(39.8390, 24.2354, 59.0679)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56CB #56CF5A
analogous
#9656CF #CF56CB #CF568F
triadic
#CF56CB #CBCF56 #56CBCF
tetradic
#CF56CB #CF9656 #56CF5A #568FCF
square
#CF56CB #CF9656 #56CF5A #568FCF
split-complementary
#CF56CB #8FCF56 #56CF96
monochromatic
#852682 #B533B0 #CF56CB #DD86DA #EAB5E8

Accessibility & contrast

On white

3.59
#CF56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CF56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56CB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56CB#FFFFFF#000000##000000
##CF56CB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#D66389
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf56cb;
/* rgb */ color: rgb(207, 86, 203);
/* oklch */ color: oklch(65.0% 0.205 328.9);
Tailwind
colors: {
  custom: {
    50: '#e18cdb',
    500: '#cf56cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf56cb;
$custom-light: #e18cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56cb",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 301.983,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.20476,
    "h": 328.9
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#CF56CB
secondary
#A8D9AA
accent
#DF4E49
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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