#CB84EF#CB84EF

#CB84EF is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.6% C 0.166 H 313.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#CB84EF
RGBrgb(203, 132, 239)
HSLhsl(280, 77%, 73%)
HSVhsv(280, 45%, 94%)
CMYKcmyk(15.1%, 44.8%, 0%, 6.3%)
CIE-LABlab(66.08, 45.62, -43.30)
CIE-LCHlch(66.08, 62.90, 316.50°)
OKLaboklab(72.63% 0.1139 -0.1202)
OKLCHoklch(72.63% 0.166 313.5)
XYZxyz(48.4573, 35.4321, 85.9310)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84EF #A8EF84
analogous
#9584EF #CB84EF #EF84DD
triadic
#CB84EF #EFCB84 #84EFCB
tetradic
#CB84EF #EF9584 #A8EF84 #84DDEF
square
#CB84EF #EF9584 #A8EF84 #84DDEF
split-complementary
#CB84EF #DDEF84 #84EF95
monochromatic
#9C1DDC #B44EE8 #CB84EF #E2BAF6 #F4E4FB

Accessibility & contrast

On white

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

On black

8.09
#CB84EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84EF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84EF#FFFFFF#000000##000000
##CB84EF1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#C894AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb84ef;
/* rgb */ color: rgb(203, 132, 239);
/* oklch */ color: oklch(72.6% 0.166 313.5);
Tailwind
colors: {
  custom: {
    50: '#dda9f4',
    500: '#cb84ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb84ef;
$custom-light: #dda9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84ef",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 279.813,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72631,
    "c": 0.16554,
    "h": 313.5
  },
  "luminance": 0.35431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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