#CB82EF#CB82EF

#CB82EF is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.3% C 0.169 H 313.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CB82EF
RGBrgb(203, 130, 239)
HSLhsl(280, 77%, 72%)
HSVhsv(280, 46%, 94%)
CMYKcmyk(15.1%, 45.6%, 0%, 6.3%)
CIE-LABlab(65.67, 46.68, -43.96)
CIE-LCHlch(65.67, 64.12, 316.72°)
OKLaboklab(72.32% 0.1166 -0.122)
OKLCHoklch(72.32% 0.169 313.7)
XYZxyz(48.1887, 34.8949, 85.8415)
Luminance0.3489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82EF #A6EF82
analogous
#9482EF #CB82EF #EF82DD
triadic
#CB82EF #EFCB82 #82EFCB
tetradic
#CB82EF #EF9482 #A6EF82 #82DDEF
square
#CB82EF #EF9482 #A6EF82 #82DDEF
split-complementary
#CB82EF #DDEF82 #82EF94
monochromatic
#9C1CDB #B44CE8 #CB82EF #E2B8F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.98
#CB82EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82EF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82EF#FFFFFF#000000##000000
##CB82EF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#80A1EC
Tritanopia (blue-blind)
#C892AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb82ef;
/* rgb */ color: rgb(203, 130, 239);
/* oklch */ color: oklch(72.3% 0.169 313.7);
Tailwind
colors: {
  custom: {
    50: '#dda8f4',
    500: '#cb82ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb82ef;
$custom-light: #dda8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82ef",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 280.183,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7232,
    "c": 0.16882,
    "h": 313.7
  },
  "luminance": 0.34894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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