#CB56CB#CB56CB

#CB56CB is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.4% C 0.202 H 327.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CB56CB
RGBrgb(203, 86, 203)
HSLhsl(300, 53%, 57%)
HSVhsv(300, 58%, 80%)
CMYKcmyk(0%, 57.6%, 0%, 20.4%)
CIE-LABlab(55.75, 61.43, -39.36)
CIE-LCHlch(55.75, 72.95, 327.35°)
OKLaboklab(64.44% 0.171 -0.1085)
OKLCHoklch(64.44% 0.202 327.6)
XYZxyz(38.7353, 23.6663, 59.0161)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56CB #56CB56
analogous
#9156CB #CB56CB #CB5691
triadic
#CB56CB #CBCB56 #56CBCB
tetradic
#CB56CB #CB9156 #56CB56 #5691CB
square
#CB56CB #CB9156 #56CB56 #5691CB
split-complementary
#CB56CB #91CB56 #56CB91
monochromatic
#7F277F #AE36AE #CB56CB #D985D9 #E8B4E8

Accessibility & contrast

On white

3.66
#CB56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CB56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56CB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56CB#FFFFFF#000000##000000
##CB56CB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#D16489
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb56cb;
/* rgb */ color: rgb(203, 86, 203);
/* oklch */ color: oklch(64.4% 0.202 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8cdb',
    500: '#cb56cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb56cb;
$custom-light: #de8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56cb",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.20248,
    "h": 327.6
  },
  "luminance": 0.23664
}

Semantic roles & 50–950 ramp

primary
#CB56CB
secondary
#A6D6A6
accent
#DC4B4B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CB56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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