#CB84EA#CB84EA

#CB84EA is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.4% C 0.160 H 315.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CB84EA
RGBrgb(203, 132, 234)
HSLhsl(282, 71%, 72%)
HSVhsv(282, 44%, 92%)
CMYKcmyk(13.2%, 43.6%, 0%, 8.2%)
CIE-LABlab(65.86, 44.58, -40.90)
CIE-LCHlch(65.86, 60.50, 317.47°)
OKLaboklab(72.39% 0.1131 -0.1132)
OKLCHoklch(72.39% 0.16 315)
XYZxyz(47.7288, 35.1407, 82.0945)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84EA #A3EA84
analogous
#9884EA #CB84EA #EA84D6
triadic
#CB84EA #EACB84 #84EACB
tetradic
#CB84EA #EA9884 #A3EA84 #84D6EA
square
#CB84EA #EA9884 #A3EA84 #84D6EA
split-complementary
#CB84EA #D6EA84 #84EA98
monochromatic
#9C24D0 #B550E1 #CB84EA #E1B8F3 #F4E5FB

Accessibility & contrast

On white

2.62
#CB84EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#CB84EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84EA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84EA#FFFFFF#000000##000000
##CB84EA1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#84A2E7
Tritanopia (blue-blind)
#C992AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb84ea;
/* rgb */ color: rgb(203, 132, 234);
/* oklch */ color: oklch(72.4% 0.160 315.0);
Tailwind
colors: {
  custom: {
    50: '#dca9f1',
    500: '#cb84ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb84ea;
$custom-light: #dca9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84ea",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 281.765,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72389,
    "c": 0.16001,
    "h": 315
  },
  "luminance": 0.3514
}

Semantic roles & 50–950 ramp

primary
#CB84EA
secondary
#E0F2D8
accent
#D3134D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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