#CB84EE#CB84EE

#CB84EE is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.6% C 0.164 H 313.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CB84EE
RGBrgb(203, 132, 238)
HSLhsl(280, 76%, 73%)
HSVhsv(280, 45%, 93%)
CMYKcmyk(14.7%, 44.5%, 0%, 6.7%)
CIE-LABlab(66.04, 45.41, -42.82)
CIE-LCHlch(66.04, 62.42, 316.68°)
OKLaboklab(72.58% 0.1137 -0.1188)
OKLCHoklch(72.58% 0.164 313.7)
XYZxyz(48.3100, 35.3732, 85.1552)
Luminance0.3537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84EE #A7EE84
analogous
#9684EE #CB84EE #EE84DC
triadic
#CB84EE #EECB84 #84EECB
tetradic
#CB84EE #EE9684 #A7EE84 #84DCEE
square
#CB84EE #EE9684 #A7EE84 #84DCEE
split-complementary
#CB84EE #DCEE84 #84EE96
monochromatic
#9C1EDA #B44EE7 #CB84EE #E2BAF5 #F4E4FB

Accessibility & contrast

On white

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

On black

8.07
#CB84EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84EE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84EE#FFFFFF#000000##000000
##CB84EE1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF2
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#C894AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb84ee;
/* rgb */ color: rgb(203, 132, 238);
/* oklch */ color: oklch(72.6% 0.164 313.7);
Tailwind
colors: {
  custom: {
    50: '#dca9f4',
    500: '#cb84ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb84ee;
$custom-light: #dca9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84ee",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 280.189,
    "s": 75.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.16444,
    "h": 313.7
  },
  "luminance": 0.35372
}

Semantic roles & 50–950 ramp

primary
#CB84EE
secondary
#E1F3D8
accent
#D80E50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB84EE

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

Preview Lab → · Contrast checker → · Palette generator →

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