#CA82DF#CA82DF

#CA82DF is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.4% C 0.151 H 318.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CA82DF
RGBrgb(202, 130, 223)
HSLhsl(286, 59%, 69%)
HSVhsv(286, 42%, 87%)
CMYKcmyk(9.4%, 41.7%, 0%, 12.5%)
CIE-LABlab(64.84, 43.12, -36.40)
CIE-LCHlch(64.84, 56.43, 319.83°)
OKLaboklab(71.45% 0.1128 -0.1003)
OKLCHoklch(71.45% 0.151 318.3)
XYZxyz(45.6572, 33.8509, 73.9265)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82DF #97DF82
analogous
#9C82DF #CA82DF #DF82C6
triadic
#CA82DF #DFCA82 #82DFCA
tetradic
#CA82DF #DF9C82 #97DF82 #82C6DF
square
#CA82DF #DF9C82 #97DF82 #82C6DF
split-complementary
#CA82DF #C6DF82 #82DF9C
monochromatic
#992FB8 #B551D3 #CA82DF #DFB3EB #F3E3F8

Accessibility & contrast

On white

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

On black

7.77
#CA82DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82DF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82DF#FFFFFF#000000##000000
##CA82DF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#CA8EA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca82df;
/* rgb */ color: rgb(202, 130, 223);
/* oklch */ color: oklch(71.4% 0.151 318.3);
Tailwind
colors: {
  custom: {
    50: '#dba8e9',
    500: '#ca82df',
    950: '#000000',
  },
}
SCSS
$custom: #ca82df;
$custom-light: #dba8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82df",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 286.452,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71447,
    "c": 0.15091,
    "h": 318.3
  },
  "luminance": 0.3385
}

Semantic roles & 50–950 ramp

primary
#CA82DF
secondary
#D7ECD1
accent
#C71F45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA82DF

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

Preview Lab → · Contrast checker → · Palette generator →

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