#CB56EB#CB56EB

#CB56EB is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.231 H 318.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CB56EB
RGBrgb(203, 86, 235)
HSLhsl(287, 79%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(13.6%, 63.4%, 0%, 7.8%)
CIE-LABlab(57.42, 67.23, -54.80)
CIE-LCHlch(57.42, 86.74, 320.82°)
OKLaboklab(66.19% 0.1724 -0.1533)
OKLCHoklch(66.19% 0.231 318.3)
XYZxyz(42.9497, 25.3521, 81.2122)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56EB #76EB56
analogous
#8056EB #CB56EB #EB56C0
triadic
#CB56EB #EBCB56 #56EBCB
tetradic
#CB56EB #EB8056 #76EB56 #56C0EB
square
#CB56EB #EB8056 #76EB56 #56C0EB
split-complementary
#CB56EB #C0EB56 #56EB80
monochromatic
#9015B2 #BA1FE5 #CB56EB #DC8DF1 #EDC3F8

Accessibility & contrast

On white

3.46
#CB56EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CB56EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56EB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56EB#FFFFFF#000000##000000
##CB56EB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#CB7099
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb56eb;
/* rgb */ color: rgb(203, 86, 235);
/* oklch */ color: oklch(66.2% 0.231 318.3);
Tailwind
colors: {
  custom: {
    50: '#de8df2',
    500: '#cb56eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb56eb;
$custom-light: #de8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56eb",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 287.114,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66193,
    "c": 0.23068,
    "h": 318.3
  },
  "luminance": 0.2535
}

Semantic roles & 50–950 ramp

primary
#CB56EB
secondary
#BFE9B4
accent
#DB0A37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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