#CB82E2#CB82E2

#CB82E2 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.7% C 0.155 H 317.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CB82E2
RGBrgb(203, 130, 226)
HSLhsl(286, 62%, 70%)
HSVhsv(286, 42%, 89%)
CMYKcmyk(10.2%, 42.5%, 0%, 11.4%)
CIE-LABlab(65.08, 44.02, -37.68)
CIE-LCHlch(65.08, 57.94, 319.44°)
OKLaboklab(71.69% 0.1145 -0.104)
OKLCHoklch(71.69% 0.155 317.8)
XYZxyz(46.3368, 34.1541, 76.0883)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82E2 #99E282
analogous
#9B82E2 #CB82E2 #E282C9
triadic
#CB82E2 #E2CB82 #82E2CB
tetradic
#CB82E2 #E29B82 #99E282 #82C9E2
square
#CB82E2 #E29B82 #99E282 #82C9E2
split-complementary
#CB82E2 #C9E282 #82E29B
monochromatic
#9B2CBE #B650D6 #CB82E2 #E0B4EE #F4E5F9

Accessibility & contrast

On white

2.68
#CB82E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CB82E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82E2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82E2#FFFFFF#000000##000000
##CB82E21.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7399E5
Deuteranopia (green-blind)
#86A0DF
Tritanopia (blue-blind)
#CB8FA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb82e2;
/* rgb */ color: rgb(203, 130, 226);
/* oklch */ color: oklch(71.7% 0.155 317.8);
Tailwind
colors: {
  custom: {
    50: '#dca8eb',
    500: '#cb82e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb82e2;
$custom-light: #dca8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82e2",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 226
  },
  "hsl": {
    "h": 285.625,
    "s": 62.338,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.15464,
    "h": 317.8
  },
  "luminance": 0.34153
}

Semantic roles & 50–950 ramp

primary
#CB82E2
secondary
#D9EDD2
accent
#CA1B45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB82E2

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

Preview Lab → · Contrast checker → · Palette generator →

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