#CF56CE#CF56CE

#CF56CE is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.1% C 0.207 H 328.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CF56CE
RGBrgb(207, 86, 206)
HSLhsl(300, 56%, 57%)
HSVhsv(300, 58%, 81%)
CMYKcmyk(0%, 58.5%, 0.5%, 18.8%)
CIE-LABlab(56.47, 62.96, -39.90)
CIE-LCHlch(56.47, 74.54, 327.63°)
OKLaboklab(65.13% 0.1757 -0.11)
OKLCHoklch(65.13% 0.207 328)
XYZxyz(40.1999, 24.3798, 60.9689)
Luminance0.2438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56CE #56CF57
analogous
#9456CF #CF56CE #CF5691
triadic
#CF56CE #CECF56 #56CECF
tetradic
#CF56CE #CF9456 #56CF57 #5691CF
square
#CF56CE #CF9456 #56CF57 #5691CF
split-complementary
#CF56CE #91CF56 #56CF94
monochromatic
#852684 #B533B3 #CF56CE #DD86DC #EAB5EA

Accessibility & contrast

On white

3.57
#CF56CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CF56CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56CE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56CE#FFFFFF#000000##000000
##CF56CE1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#D5658A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf56ce;
/* rgb */ color: rgb(207, 86, 206);
/* oklch */ color: oklch(65.1% 0.207 328.0);
Tailwind
colors: {
  custom: {
    50: '#e18cdd',
    500: '#cf56ce',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ce;
$custom-light: #e18cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ce",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 300.496,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65128,
    "c": 0.20726,
    "h": 328
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#CF56CE
secondary
#A8D9A8
accent
#DF4A49
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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