#CF56C8#CF56C8

#CF56C8 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.8% C 0.202 H 329.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CF56C8
RGBrgb(207, 86, 200)
HSLhsl(303, 56%, 57%)
HSVhsv(303, 58%, 81%)
CMYKcmyk(0%, 58.5%, 3.4%, 18.8%)
CIE-LABlab(56.18, 61.95, -36.93)
CIE-LCHlch(56.18, 72.12, 329.20°)
OKLaboklab(64.83% 0.1751 -0.1014)
OKLCHoklch(64.83% 0.202 329.9)
XYZxyz(39.4849, 24.0938, 57.2033)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56C8 #56CF5D
analogous
#9956CF #CF56C8 #CF568C
triadic
#CF56C8 #C8CF56 #56C8CF
tetradic
#CF56C8 #CF9956 #56CF5D #568CCF
square
#CF56C8 #CF9956 #56CF5D #568CCF
split-complementary
#CF56C8 #8CCF56 #56CF99
monochromatic
#85267F #B533AD #CF56C8 #DD86D8 #EAB5E7

Accessibility & contrast

On white

3.61
#CF56C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CF56C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56C8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56C8#FFFFFF#000000##000000
##CF56C81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCC
Deuteranopia (green-blind)
#758DC5
Tritanopia (blue-blind)
#D66287
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf56c8;
/* rgb */ color: rgb(207, 86, 200);
/* oklch */ color: oklch(64.8% 0.202 329.9);
Tailwind
colors: {
  custom: {
    50: '#e18cd9',
    500: '#cf56c8',
    950: '#000000',
  },
}
SCSS
$custom: #cf56c8;
$custom-light: #e18cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56c8",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 303.471,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64828,
    "c": 0.20229,
    "h": 329.9
  },
  "luminance": 0.24091
}

Semantic roles & 50–950 ramp

primary
#CF56C8
secondary
#A8D9AB
accent
#DF5149
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CF56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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