#CB56D4#CB56D4

#CB56D4 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.9% C 0.210 H 324.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CB56D4
RGBrgb(203, 86, 212)
HSLhsl(296, 59%, 58%)
HSVhsv(296, 59%, 83%)
CMYKcmyk(4.2%, 59.4%, 0%, 16.9%)
CIE-LABlab(56.20, 63.00, -43.78)
CIE-LCHlch(56.20, 76.72, 325.21°)
OKLaboklab(64.91% 0.1717 -0.1213)
OKLCHoklch(64.91% 0.21 324.8)
XYZxyz(39.8391, 24.1078, 64.8294)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56D4 #5FD456
analogous
#8C56D4 #CB56D4 #D4569E
triadic
#CB56D4 #D4CB56 #56D4CB
tetradic
#CB56D4 #D48C56 #5FD456 #569ED4
square
#CB56D4 #D48C56 #5FD456 #569ED4
split-complementary
#CB56D4 #9ED456 #56D48C
monochromatic
#85248C #B330BD #CB56D4 #DA87E0 #E9B8ED

Accessibility & contrast

On white

3.61
#CB56D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CB56D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56D4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56D4#FFFFFF#000000##000000
##CB56D41.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED8
Deuteranopia (green-blind)
#6C8CD1
Tritanopia (blue-blind)
#CF678D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb56d4;
/* rgb */ color: rgb(203, 86, 212);
/* oklch */ color: oklch(64.9% 0.210 324.8);
Tailwind
colors: {
  custom: {
    50: '#de8ce2',
    500: '#cb56d4',
    950: '#000000',
  },
}
SCSS
$custom: #cb56d4;
$custom-light: #de8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56d4",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 295.714,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64913,
    "c": 0.21021,
    "h": 324.8
  },
  "luminance": 0.24106
}

Semantic roles & 50–950 ramp

primary
#CB56D4
secondary
#ADDCAA
accent
#E34550
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150D15
muted
#847D83

Preview Lab

Preview with #CB56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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