#CA82E2#CA82E2

#CA82E2 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.6% C 0.154 H 317.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CA82E2
RGBrgb(202, 130, 226)
HSLhsl(285, 62%, 70%)
HSVhsv(285, 42%, 89%)
CMYKcmyk(10.6%, 42.5%, 0%, 11.4%)
CIE-LABlab(64.97, 43.72, -37.86)
CIE-LCHlch(64.97, 57.84, 319.11°)
OKLaboklab(71.59% 0.1133 -0.1045)
OKLCHoklch(71.59% 0.154 317.3)
XYZxyz(46.0653, 34.0141, 76.0756)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82E2 #9AE282
analogous
#9A82E2 #CA82E2 #E282CA
triadic
#CA82E2 #E2CA82 #82E2CA
tetradic
#CA82E2 #E29A82 #9AE282 #82CAE2
square
#CA82E2 #E29A82 #9AE282 #82CAE2
split-complementary
#CA82E2 #CAE282 #82E29A
monochromatic
#992CBE #B550D6 #CA82E2 #DFB4EE #F4E5F9

Accessibility & contrast

On white

2.69
#CA82E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CA82E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82E2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82E2#FFFFFF#000000##000000
##CA82E21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E5
Deuteranopia (green-blind)
#85A0DF
Tritanopia (blue-blind)
#CA8FA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca82e2;
/* rgb */ color: rgb(202, 130, 226);
/* oklch */ color: oklch(71.6% 0.154 317.3);
Tailwind
colors: {
  custom: {
    50: '#dca8eb',
    500: '#ca82e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca82e2;
$custom-light: #dca8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82e2",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 226
  },
  "hsl": {
    "h": 285,
    "s": 62.338,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71587,
    "c": 0.15415,
    "h": 317.3
  },
  "luminance": 0.34013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA82E2

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

Preview Lab → · Contrast checker → · Palette generator →

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