#CB56DE#CB56DE

#CB56DE is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.219 H 321.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CB56DE
RGBrgb(203, 86, 222)
HSLhsl(292, 67%, 60%)
HSVhsv(292, 61%, 87%)
CMYKcmyk(8.6%, 61.3%, 0%, 12.9%)
CIE-LABlab(56.71, 64.81, -48.62)
CIE-LCHlch(56.71, 81.02, 323.12°)
OKLaboklab(65.45% 0.1722 -0.1353)
OKLCHoklch(65.45% 0.219 321.8)
XYZxyz(41.1398, 24.6281, 71.6798)
Luminance0.2463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56DE #69DE56
analogous
#8756DE #CB56DE #DE56AD
triadic
#CB56DE #DECB56 #56DECB
tetradic
#CB56DE #DE8756 #69DE56 #56ADDE
square
#CB56DE #DE8756 #69DE56 #56ADDE
split-complementary
#CB56DE #ADDE56 #56DE87
monochromatic
#8A1E9B #B728CE #CB56DE #DB89E8 #EBBCF2

Accessibility & contrast

On white

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

On black

5.93
#CB56DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56DE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56DE#FFFFFF#000000##000000
##CB56DE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE2
Deuteranopia (green-blind)
#668DDA
Tritanopia (blue-blind)
#CD6B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb56de;
/* rgb */ color: rgb(203, 86, 222);
/* oklch */ color: oklch(65.5% 0.219 321.8);
Tailwind
colors: {
  custom: {
    50: '#de8de9',
    500: '#cb56de',
    950: '#000000',
  },
}
SCSS
$custom: #cb56de;
$custom-light: #de8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56de",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 291.618,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65454,
    "c": 0.219,
    "h": 321.8
  },
  "luminance": 0.24626
}

Semantic roles & 50–950 ramp

primary
#CB56DE
secondary
#B5E2AE
accent
#CF1630
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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