#CB85EA#CB85EA

#CB85EA is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.5% C 0.158 H 314.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CB85EA
RGBrgb(203, 133, 234)
HSLhsl(282, 71%, 72%)
HSVhsv(282, 43%, 92%)
CMYKcmyk(13.2%, 43.2%, 0%, 8.2%)
CIE-LABlab(66.07, 44.05, -40.57)
CIE-LCHlch(66.07, 59.89, 317.36°)
OKLaboklab(72.55% 0.1117 -0.1123)
OKLCHoklch(72.55% 0.158 314.8)
XYZxyz(47.8651, 35.4133, 82.1399)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85EA #A4EA85
analogous
#9985EA #CB85EA #EA85D7
triadic
#CB85EA #EACB85 #85EACB
tetradic
#CB85EA #EA9985 #A4EA85 #85D7EA
square
#CB85EA #EA9985 #A4EA85 #85D7EA
split-complementary
#CB85EA #D7EA85 #85EA99
monochromatic
#9C24D1 #B551E1 #CB85EA #E1B9F3 #F4E5FB

Accessibility & contrast

On white

2.60
#CB85EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CB85EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85EA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85EA#FFFFFF#000000##000000
##CB85EA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#85A3E7
Tritanopia (blue-blind)
#C993AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb85ea;
/* rgb */ color: rgb(203, 133, 234);
/* oklch */ color: oklch(72.5% 0.158 314.8);
Tailwind
colors: {
  custom: {
    50: '#dcaaf1',
    500: '#cb85ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb85ea;
$custom-light: #dcaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85ea",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 281.584,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72547,
    "c": 0.15835,
    "h": 314.8
  },
  "luminance": 0.35412
}

Semantic roles & 50–950 ramp

primary
#CB85EA
secondary
#E1F2D9
accent
#D3134E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB85EA

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

Preview Lab → · Contrast checker → · Palette generator →

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