#CB56D5#CB56D5

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

Color values

HEX#CB56D5
RGBrgb(203, 86, 213)
HSLhsl(295, 60%, 59%)
HSVhsv(295, 60%, 84%)
CMYKcmyk(4.7%, 59.6%, 0%, 16.5%)
CIE-LABlab(56.25, 63.18, -44.27)
CIE-LCHlch(56.25, 77.15, 324.98°)
OKLaboklab(64.97% 0.1718 -0.1227)
OKLCHoklch(64.97% 0.211 324.5)
XYZxyz(39.9656, 24.1584, 65.4958)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56D5 #60D556
analogous
#8B56D5 #CB56D5 #D5569F
triadic
#CB56D5 #D5CB56 #56D5CB
tetradic
#CB56D5 #D58B56 #60D556 #569FD5
square
#CB56D5 #D58B56 #60D556 #569FD5
split-complementary
#CB56D5 #9FD556 #56D58B
monochromatic
#85238D #B32FBE #CB56D5 #DA87E1 #E9B8ED

Accessibility & contrast

On white

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

On black

5.83
#CB56D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56D5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56D5#FFFFFF#000000##000000
##CB56D51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#417ED9
Deuteranopia (green-blind)
#6B8CD2
Tritanopia (blue-blind)
#CF688E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb56d5;
/* rgb */ color: rgb(203, 86, 213);
/* oklch */ color: oklch(65.0% 0.211 324.5);
Tailwind
colors: {
  custom: {
    50: '#de8ce2',
    500: '#cb56d5',
    950: '#000000',
  },
}
SCSS
$custom: #cb56d5;
$custom-light: #de8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56d5",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 295.276,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64966,
    "c": 0.21108,
    "h": 324.5
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

primary
#CB56D5
secondary
#AEDDAA
accent
#E34451
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150D15
muted
#847D83

Preview Lab

Preview with #CB56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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