#CF56D3#CF56D3

#CF56D3 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.4% C 0.211 H 326.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CF56D3
RGBrgb(207, 86, 211)
HSLhsl(298, 59%, 58%)
HSVhsv(298, 59%, 83%)
CMYKcmyk(1.9%, 59.2%, 0%, 17.3%)
CIE-LABlab(56.71, 63.82, -42.36)
CIE-LCHlch(56.71, 76.60, 326.43°)
OKLaboklab(65.39% 0.1761 -0.1171)
OKLCHoklch(65.39% 0.211 326.4)
XYZxyz(40.8170, 24.6266, 64.2189)
Luminance0.2462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56D3 #5AD356
analogous
#9056D3 #CF56D3 #D35698
triadic
#CF56D3 #D3CF56 #56D3CF
tetradic
#CF56D3 #D39056 #5AD356 #5698D3
square
#CF56D3 #D39056 #5AD356 #5698D3
split-complementary
#CF56D3 #98D356 #56D390
monochromatic
#87248B #B731BB #CF56D3 #DD87E0 #EBB7EC

Accessibility & contrast

On white

3.54
#CF56D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CF56D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56D3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56D3#FFFFFF#000000##000000
##CF56D31.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED7
Deuteranopia (green-blind)
#708DD0
Tritanopia (blue-blind)
#D4668D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf56d3;
/* rgb */ color: rgb(207, 86, 211);
/* oklch */ color: oklch(65.4% 0.211 326.4);
Tailwind
colors: {
  custom: {
    50: '#e18de1',
    500: '#cf56d3',
    950: '#000000',
  },
}
SCSS
$custom: #cf56d3;
$custom-light: #e18de1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56d3",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 298.08,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.21146,
    "h": 326.4
  },
  "luminance": 0.24624
}

Semantic roles & 50–950 ramp

primary
#CF56D3
secondary
#ABDBAA
accent
#E2464B
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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