#CA8DDE#CA8DDE

#CA8DDE is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.2% C 0.131 H 317.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CA8DDE
RGBrgb(202, 141, 222)
HSLhsl(285, 55%, 71%)
HSVhsv(285, 36%, 87%)
CMYKcmyk(9%, 36.5%, 0%, 12.9%)
CIE-LABlab(67.19, 37.00, -32.20)
CIE-LCHlch(67.19, 49.05, 318.97°)
OKLaboklab(73.2% 0.0966 -0.0884)
OKLCHoklch(73.2% 0.131 317.5)
XYZxyz(47.0649, 36.8814, 73.7326)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DDE #A1DE8D
analogous
#A18DDE #CA8DDE #DE8DC9
triadic
#CA8DDE #DECA8D #8DDECA
tetradic
#CA8DDE #DEA18D #A1DE8D #8DC9DE
square
#CA8DDE #DEA18D #A1DE8D #8DC9DE
split-complementary
#CA8DDE #C9DE8D #8DDEA1
monochromatic
#9A36BB #B45ED0 #CA8DDE #E0BCEC #F4E7F8

Accessibility & contrast

On white

2.51
#CA8DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CA8DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DDE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DDE#FFFFFF#000000##000000
##CA8DDE1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A0E1
Deuteranopia (green-blind)
#90A6DC
Tritanopia (blue-blind)
#CA97AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8dde;
/* rgb */ color: rgb(202, 141, 222);
/* oklch */ color: oklch(73.2% 0.131 317.5);
Tailwind
colors: {
  custom: {
    50: '#dbafe8',
    500: '#ca8dde',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dde;
$custom-light: #dbafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dde",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 222
  },
  "hsl": {
    "h": 285.185,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73198,
    "c": 0.13094,
    "h": 317.5
  },
  "luminance": 0.3688
}

Semantic roles & 50–950 ramp

primary
#CA8DDE
secondary
#DEEED9
accent
#C3234A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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