#CF56CC#CF56CC

#CF56CC is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.0% C 0.206 H 328.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CF56CC
RGBrgb(207, 86, 204)
HSLhsl(301, 56%, 57%)
HSVhsv(301, 58%, 81%)
CMYKcmyk(0%, 58.5%, 1.4%, 18.8%)
CIE-LABlab(56.37, 62.62, -38.92)
CIE-LCHlch(56.37, 73.73, 328.14°)
OKLaboklab(65.03% 0.1755 -0.1071)
OKLCHoklch(65.03% 0.206 328.6)
XYZxyz(39.9585, 24.2832, 59.6975)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56CC #56CF59
analogous
#9656CF #CF56CC #CF568F
triadic
#CF56CC #CCCF56 #56CCCF
tetradic
#CF56CC #CF9656 #56CF59 #568FCF
square
#CF56CC #CF9656 #56CF59 #568FCF
split-complementary
#CF56CC #8FCF56 #56CF96
monochromatic
#852683 #B533B1 #CF56CC #DD86DA #EAB5E9

Accessibility & contrast

On white

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

On black

5.86
#CF56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56CC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56CC#FFFFFF#000000##000000
##CF56CC1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#D56489
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf56cc;
/* rgb */ color: rgb(207, 86, 204);
/* oklch */ color: oklch(65.0% 0.206 328.6);
Tailwind
colors: {
  custom: {
    50: '#e18cdc',
    500: '#cf56cc',
    950: '#000000',
  },
}
SCSS
$custom: #cf56cc;
$custom-light: #e18cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56cc",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 301.488,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65027,
    "c": 0.20559,
    "h": 328.6
  },
  "luminance": 0.24281
}

Semantic roles & 50–950 ramp

primary
#CF56CC
secondary
#A8D9A9
accent
#DF4C49
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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