#CB56ED#CB56ED

#CB56ED is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.233 H 317.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CB56ED
RGBrgb(203, 86, 237)
HSLhsl(286, 81%, 63%)
HSVhsv(286, 64%, 93%)
CMYKcmyk(14.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(57.53, 67.62, -55.74)
CIE-LCHlch(57.53, 87.63, 320.50°)
OKLaboklab(66.31% 0.1723 -0.1561)
OKLCHoklch(66.31% 0.233 317.8)
XYZxyz(43.2403, 25.4683, 82.7425)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56ED #78ED56
analogous
#7F56ED #CB56ED #ED56C3
triadic
#CB56ED #EDCB56 #56EDCB
tetradic
#CB56ED #ED7F56 #78ED56 #56C3ED
square
#CB56ED #ED7F56 #78ED56 #56C3ED
split-complementary
#CB56ED #C3ED56 #56ED7F
monochromatic
#9113B5 #BA1FE7 #CB56ED #DC8DF3 #EDC5F9

Accessibility & contrast

On white

3.45
#CB56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CB56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56ED
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56ED#FFFFFF#000000##000000
##CB56ED1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F2
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#CA719A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb56ed;
/* rgb */ color: rgb(203, 86, 237);
/* oklch */ color: oklch(66.3% 0.233 317.8);
Tailwind
colors: {
  custom: {
    50: '#de8df3',
    500: '#cb56ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb56ed;
$custom-light: #de8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56ed",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 286.49,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6631,
    "c": 0.2325,
    "h": 317.8
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#CB56ED
secondary
#C1EAB4
accent
#DD0838
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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