#CB84EC#CB84EC

#CB84EC is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.5% C 0.162 H 314.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CB84EC
RGBrgb(203, 132, 236)
HSLhsl(281, 73%, 72%)
HSVhsv(281, 44%, 93%)
CMYKcmyk(14%, 44.1%, 0%, 7.5%)
CIE-LABlab(65.95, 45.00, -41.86)
CIE-LCHlch(65.95, 61.46, 317.07°)
OKLaboklab(72.49% 0.1134 -0.116)
OKLCHoklch(72.49% 0.162 314.3)
XYZxyz(48.0178, 35.2563, 83.6163)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84EC #A5EC84
analogous
#9784EC #CB84EC #EC84D9
triadic
#CB84EC #ECCB84 #84ECCB
tetradic
#CB84EC #EC9784 #A5EC84 #84D9EC
square
#CB84EC #EC9784 #A5EC84 #84D9EC
split-complementary
#CB84EC #D9EC84 #84EC97
monochromatic
#9C21D5 #B54FE4 #CB84EC #E1B9F4 #F4E4FB

Accessibility & contrast

On white

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

On black

8.05
#CB84EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84EC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84EC#FFFFFF#000000##000000
##CB84EC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#C993AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb84ec;
/* rgb */ color: rgb(203, 132, 236);
/* oklch */ color: oklch(72.5% 0.162 314.3);
Tailwind
colors: {
  custom: {
    50: '#dca9f2',
    500: '#cb84ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb84ec;
$custom-light: #dca9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84ec",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 280.962,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72485,
    "c": 0.16222,
    "h": 314.3
  },
  "luminance": 0.35255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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