#CB56D1#CB56D1

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

Color values

HEX#CB56D1
RGBrgb(203, 86, 209)
HSLhsl(297, 57%, 58%)
HSVhsv(297, 59%, 82%)
CMYKcmyk(2.9%, 58.9%, 0%, 18%)
CIE-LABlab(56.05, 62.47, -42.31)
CIE-LCHlch(56.05, 75.45, 325.89°)
OKLaboklab(64.76% 0.1715 -0.117)
OKLCHoklch(64.76% 0.208 325.7)
XYZxyz(39.4642, 23.9579, 62.8549)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56D1 #5CD156
analogous
#8D56D1 #CB56D1 #D15699
triadic
#CB56D1 #D1CB56 #56D1CB
tetradic
#CB56D1 #D18D56 #5CD156 #5699D1
square
#CB56D1 #D18D56 #5CD156 #5699D1
split-complementary
#CB56D1 #99D156 #56D18D
monochromatic
#832588 #B132B8 #CB56D1 #DA86DE #E9B6EB

Accessibility & contrast

On white

3.63
#CB56D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CB56D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56D1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56D1#FFFFFF#000000##000000
##CB56D11.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD5
Deuteranopia (green-blind)
#6D8BCE
Tritanopia (blue-blind)
#D0668C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb56d1;
/* rgb */ color: rgb(203, 86, 209);
/* oklch */ color: oklch(64.8% 0.208 325.7);
Tailwind
colors: {
  custom: {
    50: '#de8cdf',
    500: '#cb56d1',
    950: '#000000',
  },
}
SCSS
$custom: #cb56d1;
$custom-light: #de8cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56d1",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 297.073,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.20761,
    "h": 325.7
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#CB56D1
secondary
#ABDAA9
accent
#E0474F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150D15
muted
#847D83

Preview Lab

Preview with #CB56D1

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

Preview Lab → · Contrast checker → · Palette generator →

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