#CB56E5#CB56E5

#CB56E5 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.225 H 319.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CB56E5
RGBrgb(203, 86, 229)
HSLhsl(289, 73%, 62%)
HSVhsv(289, 62%, 90%)
CMYKcmyk(11.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(57.09, 66.11, -51.96)
CIE-LCHlch(57.09, 84.08, 321.83°)
OKLaboklab(65.85% 0.1724 -0.1451)
OKLCHoklch(65.85% 0.225 319.9)
XYZxyz(42.0975, 25.0112, 76.7237)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56E5 #70E556
analogous
#8456E5 #CB56E5 #E556B8
triadic
#CB56E5 #E5CB56 #56E5CB
tetradic
#CB56E5 #E58456 #70E556 #56B8E5
square
#CB56E5 #E58456 #70E556 #56B8E5
split-complementary
#CB56E5 #B8E556 #56E584
monochromatic
#8D1AA7 #BA22DC #CB56E5 #DB8BED #ECC0F5

Accessibility & contrast

On white

3.50
#CB56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CB56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56E5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56E5#FFFFFF#000000##000000
##CB56E51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81E9
Deuteranopia (green-blind)
#628DE1
Tritanopia (blue-blind)
#CC6E96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb56e5;
/* rgb */ color: rgb(203, 86, 229);
/* oklch */ color: oklch(65.8% 0.225 319.9);
Tailwind
colors: {
  custom: {
    50: '#de8dee',
    500: '#cb56e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb56e5;
$custom-light: #de8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56e5",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 289.091,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65847,
    "c": 0.22526,
    "h": 319.9
  },
  "luminance": 0.25009
}

Semantic roles & 50–950 ramp

primary
#CB56E5
secondary
#BBE6B1
accent
#D51034
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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