#CA8DDD#CA8DDD

#CA8DDD is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.2% C 0.130 H 317.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CA8DDD
RGBrgb(202, 141, 221)
HSLhsl(286, 54%, 71%)
HSVhsv(286, 36%, 87%)
CMYKcmyk(8.6%, 36.2%, 0%, 13.3%)
CIE-LABlab(67.15, 36.80, -31.71)
CIE-LCHlch(67.15, 48.58, 319.25°)
OKLaboklab(73.15% 0.0964 -0.087)
OKLCHoklch(73.15% 0.13 317.9)
XYZxyz(46.9313, 36.8280, 73.0289)
Luminance0.3683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DDD #A0DD8D
analogous
#A28DDD #CA8DDD #DD8DC8
triadic
#CA8DDD #DDCA8D #8DDDCA
tetradic
#CA8DDD #DDA28D #A0DD8D #8DC8DD
square
#CA8DDD #DDA28D #A0DD8D #8DC8DD
split-complementary
#CA8DDD #C8DD8D #8DDDA2
monochromatic
#9A37B9 #B45ECF #CA8DDD #E0BCEB #F4E7F8

Accessibility & contrast

On white

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

On black

8.37
#CA8DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DDD
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DDD#FFFFFF#000000##000000
##CA8DDD1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FE0
Deuteranopia (green-blind)
#91A6DB
Tritanopia (blue-blind)
#CA97AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8ddd;
/* rgb */ color: rgb(202, 141, 221);
/* oklch */ color: oklch(73.2% 0.130 317.9);
Tailwind
colors: {
  custom: {
    50: '#dbafe8',
    500: '#ca8ddd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ddd;
$custom-light: #dbafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ddd",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 285.75,
    "s": 54.054,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73154,
    "c": 0.12983,
    "h": 317.9
  },
  "luminance": 0.36827
}

Semantic roles & 50–950 ramp

primary
#CA8DDD
secondary
#DDEED8
accent
#C22449
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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