#CA82E8#CA82E8

#CA82E8 is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.161 H 315.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CA82E8
RGBrgb(202, 130, 232)
HSLhsl(282, 69%, 71%)
HSVhsv(282, 44%, 91%)
CMYKcmyk(12.9%, 44%, 0%, 9%)
CIE-LABlab(65.24, 44.95, -40.77)
CIE-LCHlch(65.24, 60.68, 317.79°)
OKLaboklab(71.87% 0.1144 -0.1129)
OKLCHoklch(71.87% 0.161 315.4)
XYZxyz(46.9030, 34.3492, 80.4876)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82E8 #A0E882
analogous
#9782E8 #CA82E8 #E882D3
triadic
#CA82E8 #E8CA82 #82E8CA
tetradic
#CA82E8 #E89782 #A0E882 #82D3E8
square
#CA82E8 #E89782 #A0E882 #82D3E8
split-complementary
#CA82E8 #D3E882 #82E897
monochromatic
#9A25CA #B44EDE #CA82E8 #E0B6F2 #F4E5FA

Accessibility & contrast

On white

2.67
#CA82E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CA82E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82E8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82E8#FFFFFF#000000##000000
##CA82E81.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#83A0E5
Tritanopia (blue-blind)
#C890AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca82e8;
/* rgb */ color: rgb(202, 130, 232);
/* oklch */ color: oklch(71.9% 0.161 315.4);
Tailwind
colors: {
  custom: {
    50: '#dca8ef',
    500: '#ca82e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca82e8;
$custom-light: #dca8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82e8",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 232
  },
  "hsl": {
    "h": 282.353,
    "s": 68.919,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.16068,
    "h": 315.4
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#CA82E8
secondary
#DDF0D5
accent
#D1154C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA82E8

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

Preview Lab → · Contrast checker → · Palette generator →

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