#CB56D6#CB56D6

#CB56D6 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.0% C 0.212 H 324.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CB56D6
RGBrgb(203, 86, 214)
HSLhsl(295, 61%, 59%)
HSVhsv(295, 60%, 84%)
CMYKcmyk(5.1%, 59.8%, 0%, 16.1%)
CIE-LABlab(56.30, 63.36, -44.75)
CIE-LCHlch(56.30, 77.57, 324.76°)
OKLaboklab(65.02% 0.1718 -0.1241)
OKLCHoklch(65.02% 0.212 324.2)
XYZxyz(40.0929, 24.2094, 66.1664)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56D6 #61D656
analogous
#8B56D6 #CB56D6 #D656A1
triadic
#CB56D6 #D6CB56 #56D6CB
tetradic
#CB56D6 #D68B56 #61D656 #56A1D6
square
#CB56D6 #D68B56 #61D656 #56A1D6
split-complementary
#CB56D6 #A1D656 #56D68B
monochromatic
#86238F #B42FC0 #CB56D6 #DA87E2 #E9B9EE

Accessibility & contrast

On white

3.60
#CB56D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CB56D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56D6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56D6#FFFFFF#000000##000000
##CB56D61.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDA
Deuteranopia (green-blind)
#6B8CD3
Tritanopia (blue-blind)
#CF688E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb56d6;
/* rgb */ color: rgb(203, 86, 214);
/* oklch */ color: oklch(65.0% 0.212 324.2);
Tailwind
colors: {
  custom: {
    50: '#de8ce3',
    500: '#cb56d6',
    950: '#000000',
  },
}
SCSS
$custom: #cb56d6;
$custom-light: #de8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56d6",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 294.844,
    "s": 60.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65019,
    "c": 0.21195,
    "h": 324.2
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#CB56D6
secondary
#AFDDAB
accent
#E44452
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CB56D6

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

Preview Lab → · Contrast checker → · Palette generator →

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