#CB82EC#CB82EC

#CB82EC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.2% C 0.166 H 314.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CB82EC
RGBrgb(203, 130, 236)
HSLhsl(281, 74%, 72%)
HSVhsv(281, 45%, 93%)
CMYKcmyk(14%, 44.9%, 0%, 7.5%)
CIE-LABlab(65.53, 46.06, -42.52)
CIE-LCHlch(65.53, 62.68, 317.29°)
OKLaboklab(72.17% 0.1162 -0.1179)
OKLCHoklch(72.17% 0.166 314.6)
XYZxyz(47.7491, 34.7191, 83.5267)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82EC #A3EC82
analogous
#9682EC #CB82EC #EC82D8
triadic
#CB82EC #ECCB82 #82ECCB
tetradic
#CB82EC #EC9682 #A3EC82 #82D8EC
square
#CB82EC #EC9682 #A3EC82 #82D8EC
split-complementary
#CB82EC #D8EC82 #82EC96
monochromatic
#9C20D3 #B54DE4 #CB82EC #E1B7F4 #F4E4FB

Accessibility & contrast

On white

2.64
#CB82EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CB82EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82EC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82EC#FFFFFF#000000##000000
##CB82EC1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#C991AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb82ec;
/* rgb */ color: rgb(203, 130, 236);
/* oklch */ color: oklch(72.2% 0.166 314.6);
Tailwind
colors: {
  custom: {
    50: '#dda8f2',
    500: '#cb82ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb82ec;
$custom-light: #dda8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82ec",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 281.321,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72172,
    "c": 0.16551,
    "h": 314.6
  },
  "luminance": 0.34718
}

Semantic roles & 50–950 ramp

primary
#CB82EC
secondary
#E0F2D7
accent
#D6104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB82EC

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

Preview Lab → · Contrast checker → · Palette generator →

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