#CB84E5#CB84E5

#CB84E5 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.2% C 0.155 H 316.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CB84E5
RGBrgb(203, 132, 229)
HSLhsl(284, 65%, 71%)
HSVhsv(284, 42%, 90%)
CMYKcmyk(11.4%, 42.4%, 0%, 10.2%)
CIE-LABlab(65.64, 43.56, -38.48)
CIE-LCHlch(65.64, 58.12, 318.54°)
OKLaboklab(72.15% 0.1122 -0.1063)
OKLCHoklch(72.15% 0.155 316.5)
XYZxyz(47.0206, 34.8575, 78.3648)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84E5 #9EE584
analogous
#9A84E5 #CB84E5 #E584CE
triadic
#CB84E5 #E5CB84 #84E5CB
tetradic
#CB84E5 #E59A84 #9EE584 #84CEE5
square
#CB84E5 #E59A84 #9EE584 #84CEE5
split-complementary
#CB84E5 #CEE584 #84E59A
monochromatic
#9B2AC5 #B651DA #CB84E5 #E0B7F0 #F4E6FA

Accessibility & contrast

On white

2.63
#CB84E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CB84E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84E5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84E5#FFFFFF#000000##000000
##CB84E51.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#86A2E2
Tritanopia (blue-blind)
#CA91AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb84e5;
/* rgb */ color: rgb(203, 132, 229);
/* oklch */ color: oklch(72.2% 0.155 316.5);
Tailwind
colors: {
  custom: {
    50: '#dca9ed',
    500: '#cb84e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb84e5;
$custom-light: #dca9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84e5",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 283.918,
    "s": 65.101,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72151,
    "c": 0.15452,
    "h": 316.5
  },
  "luminance": 0.34856
}

Semantic roles & 50–950 ramp

primary
#CB84E5
secondary
#DCEFD5
accent
#CD1949
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB84E5

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

Preview Lab → · Contrast checker → · Palette generator →

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