#CB84EB#CB84EB

#CB84EB is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.4% C 0.161 H 314.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CB84EB
RGBrgb(203, 132, 235)
HSLhsl(281, 72%, 72%)
HSVhsv(281, 44%, 92%)
CMYKcmyk(13.6%, 43.8%, 0%, 7.8%)
CIE-LABlab(65.90, 44.79, -41.38)
CIE-LCHlch(65.90, 60.98, 317.27°)
OKLaboklab(72.44% 0.1132 -0.1146)
OKLCHoklch(72.44% 0.161 314.6)
XYZxyz(47.8729, 35.1984, 82.8533)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84EB #A4EB84
analogous
#9884EB #CB84EB #EB84D8
triadic
#CB84EB #EBCB84 #84EBCB
tetradic
#CB84EB #EB9884 #A4EB84 #84D8EB
square
#CB84EB #EB9884 #A4EB84 #84D8EB
split-complementary
#CB84EB #D8EB84 #84EB98
monochromatic
#9C22D2 #B54FE2 #CB84EB #E1B9F4 #F4E5FB

Accessibility & contrast

On white

2.61
#CB84EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CB84EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84EB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84EB#FFFFFF#000000##000000
##CB84EB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#C993AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb84eb;
/* rgb */ color: rgb(203, 132, 235);
/* oklch */ color: oklch(72.4% 0.161 314.6);
Tailwind
colors: {
  custom: {
    50: '#dca9f2',
    500: '#cb84eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb84eb;
$custom-light: #dca9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84eb",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 281.359,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72437,
    "c": 0.16111,
    "h": 314.6
  },
  "luminance": 0.35197
}

Semantic roles & 50–950 ramp

primary
#CB84EB
secondary
#E1F2D8
accent
#D4114E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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