#CB82E7#CB82E7

#CB82E7 is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.9% C 0.160 H 316.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CB82E7
RGBrgb(203, 130, 231)
HSLhsl(283, 68%, 71%)
HSVhsv(283, 44%, 91%)
CMYKcmyk(12.1%, 43.7%, 0%, 9.4%)
CIE-LABlab(65.30, 45.03, -40.11)
CIE-LCHlch(65.30, 60.30, 318.31°)
OKLaboklab(71.93% 0.1154 -0.1109)
OKLCHoklch(71.93% 0.16 316.1)
XYZxyz(47.0329, 34.4326, 79.7544)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82E7 #9EE782
analogous
#9882E7 #CB82E7 #E782D0
triadic
#CB82E7 #E7CB82 #82E7CB
tetradic
#CB82E7 #E79882 #9EE782 #82D0E7
square
#CB82E7 #E79882 #9EE782 #82D0E7
split-complementary
#CB82E7 #D0E782 #82E798
monochromatic
#9B26C8 #B64FDD #CB82E7 #E0B5F1 #F4E5FA

Accessibility & contrast

On white

2.66
#CB82E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CB82E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82E7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82E7#FFFFFF#000000##000000
##CB82E71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#84A1E4
Tritanopia (blue-blind)
#CA90AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb82e7;
/* rgb */ color: rgb(203, 130, 231);
/* oklch */ color: oklch(71.9% 0.160 316.1);
Tailwind
colors: {
  custom: {
    50: '#dca8ef',
    500: '#cb82e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb82e7;
$custom-light: #dca8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82e7",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 231
  },
  "hsl": {
    "h": 283.366,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71931,
    "c": 0.16005,
    "h": 316.1
  },
  "luminance": 0.34431
}

Semantic roles & 50–950 ramp

primary
#CB82E7
secondary
#DCF0D5
accent
#D01649
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB82E7

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

Preview Lab → · Contrast checker → · Palette generator →

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