#CA82E4#CA82E4

#CA82E4 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.7% C 0.156 H 316.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CA82E4
RGBrgb(202, 130, 228)
HSLhsl(284, 64%, 70%)
HSVhsv(284, 43%, 89%)
CMYKcmyk(11.4%, 43%, 0%, 10.6%)
CIE-LABlab(65.06, 44.13, -38.83)
CIE-LCHlch(65.06, 58.78, 318.65°)
OKLaboklab(71.68% 0.1137 -0.1073)
OKLCHoklch(71.68% 0.156 316.7)
XYZxyz(46.3413, 34.1246, 77.5293)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82E4 #9CE482
analogous
#9982E4 #CA82E4 #E482CD
triadic
#CA82E4 #E4CA82 #82E4CA
tetradic
#CA82E4 #E49982 #9CE482 #82CDE4
square
#CA82E4 #E49982 #9CE482 #82CDE4
split-complementary
#CA82E4 #CDE482 #82E499
monochromatic
#992AC2 #B550D9 #CA82E4 #DFB4EF #F4E6FA

Accessibility & contrast

On white

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

On black

7.82
#CA82E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82E4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82E4#FFFFFF#000000##000000
##CA82E41.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E8
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#C98FA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca82e4;
/* rgb */ color: rgb(202, 130, 228);
/* oklch */ color: oklch(71.7% 0.156 316.7);
Tailwind
colors: {
  custom: {
    50: '#dca8ed',
    500: '#ca82e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca82e4;
$custom-light: #dca8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82e4",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 284.082,
    "s": 64.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71681,
    "c": 0.15631,
    "h": 316.7
  },
  "luminance": 0.34123
}

Semantic roles & 50–950 ramp

primary
#CA82E4
secondary
#DBEED3
accent
#CC1949
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA82E4

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

Preview Lab → · Contrast checker → · Palette generator →

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