#CA82E1#CA82E1

#CA82E1 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.5% C 0.153 H 317.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CA82E1
RGBrgb(202, 130, 225)
HSLhsl(285, 61%, 70%)
HSVhsv(285, 42%, 88%)
CMYKcmyk(10.2%, 42.2%, 0%, 11.8%)
CIE-LABlab(64.93, 43.52, -37.37)
CIE-LCHlch(64.93, 57.37, 319.35°)
OKLaboklab(71.54% 0.1131 -0.1031)
OKLCHoklch(71.54% 0.153 317.7)
XYZxyz(45.9285, 33.9594, 75.3550)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82E1 #99E182
analogous
#9B82E1 #CA82E1 #E182C8
triadic
#CA82E1 #E1CA82 #82E1CA
tetradic
#CA82E1 #E19B82 #99E182 #82C8E1
square
#CA82E1 #E19B82 #99E182 #82C8E1
split-complementary
#CA82E1 #C8E182 #82E19B
monochromatic
#992DBC #B551D5 #CA82E1 #DFB3ED #F4E5F9

Accessibility & contrast

On white

2.70
#CA82E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CA82E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82E1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82E1#FFFFFF#000000##000000
##CA82E11.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7399E4
Deuteranopia (green-blind)
#86A0DE
Tritanopia (blue-blind)
#CA8FA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca82e1;
/* rgb */ color: rgb(202, 130, 225);
/* oklch */ color: oklch(71.5% 0.153 317.7);
Tailwind
colors: {
  custom: {
    50: '#dca8ea',
    500: '#ca82e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca82e1;
$custom-light: #dca8ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82e1",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 225
  },
  "hsl": {
    "h": 285.474,
    "s": 61.29,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.15306,
    "h": 317.7
  },
  "luminance": 0.33958
}

Semantic roles & 50–950 ramp

primary
#CA82E1
secondary
#D8EDD2
accent
#C91D46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA82E1

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

Preview Lab → · Contrast checker → · Palette generator →

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