#CB56E1#CB56E1

#CB56E1 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.222 H 321.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CB56E1
RGBrgb(203, 86, 225)
HSLhsl(291, 70%, 61%)
HSVhsv(291, 62%, 88%)
CMYKcmyk(9.8%, 61.8%, 0%, 11.8%)
CIE-LABlab(56.87, 65.36, -50.06)
CIE-LCHlch(56.87, 82.33, 322.55°)
OKLaboklab(65.62% 0.1723 -0.1395)
OKLCHoklch(65.62% 0.222 321)
XYZxyz(41.5454, 24.7904, 73.8162)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56E1 #6CE156
analogous
#8556E1 #CB56E1 #E156B1
triadic
#CB56E1 #E1CB56 #56E1CB
tetradic
#CB56E1 #E18556 #6CE156 #56B1E1
square
#CB56E1 #E18556 #6CE156 #56B1E1
split-complementary
#CB56E1 #B1E156 #56E185
monochromatic
#8B1CA0 #B926D4 #CB56E1 #DB8AEA #EBBEF3

Accessibility & contrast

On white

3.52
#CB56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CB56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56E1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56E1#FFFFFF#000000##000000
##CB56E11.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E5
Deuteranopia (green-blind)
#648DDD
Tritanopia (blue-blind)
#CD6C94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb56e1;
/* rgb */ color: rgb(203, 86, 225);
/* oklch */ color: oklch(65.6% 0.222 321.0);
Tailwind
colors: {
  custom: {
    50: '#de8deb',
    500: '#cb56e1',
    950: '#000000',
  },
}
SCSS
$custom: #cb56e1;
$custom-light: #de8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56e1",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 290.504,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65621,
    "c": 0.22168,
    "h": 321
  },
  "luminance": 0.24788
}

Semantic roles & 50–950 ramp

primary
#CB56E1
secondary
#B7E4AF
accent
#D21432
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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