#CB56EE#CB56EE

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

Color values

HEX#CB56EE
RGBrgb(203, 86, 238)
HSLhsl(286, 82%, 64%)
HSVhsv(286, 64%, 93%)
CMYKcmyk(14.7%, 63.9%, 0%, 6.7%)
CIE-LABlab(57.59, 67.81, -56.20)
CIE-LCHlch(57.59, 88.07, 320.35°)
OKLaboklab(66.37% 0.1723 -0.1574)
OKLCHoklch(66.37% 0.233 317.6)
XYZxyz(43.3868, 25.5269, 83.5141)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56EE #79EE56
analogous
#7F56EE #CB56EE #EE56C5
triadic
#CB56EE #EECB56 #56EECB
tetradic
#CB56EE #EE7F56 #79EE56 #56C5EE
square
#CB56EE #EE7F56 #79EE56 #56C5EE
split-complementary
#CB56EE #C5EE56 #56EE7F
monochromatic
#9112B7 #BA1EE8 #CB56EE #DC8EF4 #EDC5F9

Accessibility & contrast

On white

3.44
#CB56EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CB56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56EE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56EE#FFFFFF#000000##000000
##CB56EE1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F3
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#CA719B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb56ee;
/* rgb */ color: rgb(203, 86, 238);
/* oklch */ color: oklch(66.4% 0.233 317.6);
Tailwind
colors: {
  custom: {
    50: '#de8df4',
    500: '#cb56ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb56ee;
$custom-light: #de8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56ee",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 286.184,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66369,
    "c": 0.2334,
    "h": 317.6
  },
  "luminance": 0.25525
}

Semantic roles & 50–950 ramp

primary
#CB56EE
secondary
#C1EBB5
accent
#DE0739
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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