#CA8DE2#CA8DE2

#CA8DE2 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.4% C 0.135 H 316.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CA8DE2
RGBrgb(202, 141, 226)
HSLhsl(283, 59%, 72%)
HSVhsv(283, 38%, 89%)
CMYKcmyk(10.6%, 37.6%, 0%, 11.4%)
CIE-LABlab(67.35, 37.81, -34.16)
CIE-LCHlch(67.35, 50.96, 317.91°)
OKLaboklab(73.37% 0.0975 -0.094)
OKLCHoklch(73.37% 0.135 316.1)
XYZxyz(47.6074, 37.0984, 76.5896)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DE2 #A5E28D
analogous
#A08DE2 #CA8DE2 #E28DD0
triadic
#CA8DE2 #E2CA8D #8DE2CA
tetradic
#CA8DE2 #E2A08D #A5E28D #8DD0E2
square
#CA8DE2 #E2A08D #A5E28D #8DD0E2
split-complementary
#CA8DE2 #D0E28D #8DE2A0
monochromatic
#9A32C3 #B35CD6 #CA8DE2 #E1BEEE #F4E7F9

Accessibility & contrast

On white

2.49
#CA8DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CA8DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DE2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DE2#FFFFFF#000000##000000
##CA8DE21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A0E5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#C998AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8de2;
/* rgb */ color: rgb(202, 141, 226);
/* oklch */ color: oklch(73.4% 0.135 316.1);
Tailwind
colors: {
  custom: {
    50: '#dbafeb',
    500: '#ca8de2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8de2;
$custom-light: #dbafeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8de2",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 283.059,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73374,
    "c": 0.13542,
    "h": 316.1
  },
  "luminance": 0.37097
}

Semantic roles & 50–950 ramp

primary
#CA8DE2
secondary
#E1F0DB
accent
#C71E4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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