#CB56D7#CB56D7

#CB56D7 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.213 H 323.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CB56D7
RGBrgb(203, 86, 215)
HSLhsl(294, 62%, 59%)
HSVhsv(294, 60%, 84%)
CMYKcmyk(5.6%, 60%, 0%, 15.7%)
CIE-LABlab(56.35, 63.54, -45.24)
CIE-LCHlch(56.35, 78.00, 324.55°)
OKLaboklab(65.07% 0.1719 -0.1255)
OKLCHoklch(65.07% 0.213 323.9)
XYZxyz(40.2210, 24.2606, 66.8410)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56D7 #62D756
analogous
#8B56D7 #CB56D7 #D756A2
triadic
#CB56D7 #D7CB56 #56D7CB
tetradic
#CB56D7 #D78B56 #62D756 #56A2D7
square
#CB56D7 #D78B56 #62D756 #56A2D7
split-complementary
#CB56D7 #A2D756 #56D78B
monochromatic
#862290 #B42EC2 #CB56D7 #DA87E3 #E9B9EE

Accessibility & contrast

On white

3.59
#CB56D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CB56D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56D7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56D7#FFFFFF#000000##000000
##CB56D71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDB
Deuteranopia (green-blind)
#6A8CD4
Tritanopia (blue-blind)
#CF698F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb56d7;
/* rgb */ color: rgb(203, 86, 215);
/* oklch */ color: oklch(65.1% 0.213 323.9);
Tailwind
colors: {
  custom: {
    50: '#de8ce4',
    500: '#cb56d7',
    950: '#000000',
  },
}
SCSS
$custom: #cb56d7;
$custom-light: #de8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56d7",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 294.419,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65073,
    "c": 0.21282,
    "h": 323.9
  },
  "luminance": 0.24258
}

Semantic roles & 50–950 ramp

primary
#CB56D7
secondary
#B0DEAB
accent
#E54352
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D15
muted
#847E84

Preview Lab

Preview with #CB56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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