#CB82EB#CB82EB

#CB82EB is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.1% C 0.164 H 314.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CB82EB
RGBrgb(203, 130, 235)
HSLhsl(282, 72%, 72%)
HSVhsv(282, 45%, 92%)
CMYKcmyk(13.6%, 44.7%, 0%, 7.8%)
CIE-LABlab(65.48, 45.85, -42.04)
CIE-LCHlch(65.48, 62.20, 317.49°)
OKLaboklab(72.12% 0.116 -0.1165)
OKLCHoklch(72.12% 0.164 314.9)
XYZxyz(47.6043, 34.6611, 82.7637)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82EB #A2EB82
analogous
#9782EB #CB82EB #EB82D7
triadic
#CB82EB #EBCB82 #82EBCB
tetradic
#CB82EB #EB9782 #A2EB82 #82D7EB
square
#CB82EB #EB9782 #A2EB82 #82D7EB
split-complementary
#CB82EB #D7EB82 #82EB97
monochromatic
#9C21D1 #B54DE3 #CB82EB #E1B7F3 #F4E5FB

Accessibility & contrast

On white

2.65
#CB82EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CB82EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82EB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82EB#FFFFFF#000000##000000
##CB82EB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#C991AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb82eb;
/* rgb */ color: rgb(203, 130, 235);
/* oklch */ color: oklch(72.1% 0.164 314.9);
Tailwind
colors: {
  custom: {
    50: '#dca8f2',
    500: '#cb82eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb82eb;
$custom-light: #dca8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82eb",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 281.714,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72124,
    "c": 0.16442,
    "h": 314.9
  },
  "luminance": 0.3466
}

Semantic roles & 50–950 ramp

primary
#CB82EB
secondary
#DFF2D7
accent
#D4114D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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