#CB56D2#CB56D2

#CB56D2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.8% C 0.208 H 325.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CB56D2
RGBrgb(203, 86, 210)
HSLhsl(297, 58%, 58%)
HSVhsv(297, 59%, 82%)
CMYKcmyk(3.3%, 59%, 0%, 17.6%)
CIE-LABlab(56.10, 62.65, -42.80)
CIE-LCHlch(56.10, 75.87, 325.66°)
OKLaboklab(64.81% 0.1716 -0.1184)
OKLCHoklch(64.81% 0.208 325.4)
XYZxyz(39.5884, 24.0075, 63.5090)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56D2 #5DD256
analogous
#8D56D2 #CB56D2 #D2569B
triadic
#CB56D2 #D2CB56 #56D2CB
tetradic
#CB56D2 #D28D56 #5DD256 #569BD2
square
#CB56D2 #D28D56 #5DD256 #569BD2
split-complementary
#CB56D2 #9BD256 #56D28D
monochromatic
#832589 #B231B9 #CB56D2 #DA86DF #E9B7EC

Accessibility & contrast

On white

3.62
#CB56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CB56D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56D2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56D2#FFFFFF#000000##000000
##CB56D21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#6D8CCF
Tritanopia (blue-blind)
#D0678C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb56d2;
/* rgb */ color: rgb(203, 86, 210);
/* oklch */ color: oklch(64.8% 0.208 325.4);
Tailwind
colors: {
  custom: {
    50: '#de8ce0',
    500: '#cb56d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb56d2;
$custom-light: #de8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56d2",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 296.613,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64807,
    "c": 0.20847,
    "h": 325.4
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#CB56D2
secondary
#ACDBA9
accent
#E1474F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150D15
muted
#847D83

Preview Lab

Preview with #CB56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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