#CF56DB#CF56DB

#CF56DB is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.218 H 324.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CF56DB
RGBrgb(207, 86, 219)
HSLhsl(295, 65%, 60%)
HSVhsv(295, 61%, 86%)
CMYKcmyk(5.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(57.11, 65.23, -46.26)
CIE-LCHlch(57.11, 79.97, 324.66°)
OKLaboklab(65.81% 0.1766 -0.1283)
OKLCHoklch(65.81% 0.218 324)
XYZxyz(41.8450, 25.0378, 69.6328)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56DB #62DB56
analogous
#8C56DB #CF56DB #DB56A5
triadic
#CF56DB #DBCF56 #56DBCF
tetradic
#CF56DB #DB8C56 #62DB56 #56A5DB
square
#CF56DB #DB8C56 #62DB56 #56A5DB
split-complementary
#CF56DB #A5DB56 #56DB8C
monochromatic
#8C2097 #BB2BC9 #CF56DB #DD88E6 #ECBBF0

Accessibility & contrast

On white

3.50
#CF56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CF56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56DB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56DB#FFFFFF#000000##000000
##CF56DB1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#D36991
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf56db;
/* rgb */ color: rgb(207, 86, 219);
/* oklch */ color: oklch(65.8% 0.218 324.0);
Tailwind
colors: {
  custom: {
    50: '#e18de7',
    500: '#cf56db',
    950: '#000000',
  },
}
SCSS
$custom: #cf56db;
$custom-light: #e18de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56db",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 294.586,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65809,
    "c": 0.21831,
    "h": 324
  },
  "luminance": 0.25035
}

Semantic roles & 50–950 ramp

primary
#CF56DB
secondary
#B1E0AD
accent
#E8404F
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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