#CA8AE2#CA8AE2

#CA8AE2 is a light, vivid purple. Relative luminance 0.362; OKLCH L 72.9% C 0.141 H 316.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CA8AE2
RGBrgb(202, 138, 226)
HSLhsl(284, 60%, 71%)
HSVhsv(284, 39%, 89%)
CMYKcmyk(10.6%, 38.9%, 0%, 11.4%)
CIE-LABlab(66.69, 39.44, -35.18)
CIE-LCHlch(66.69, 52.85, 318.26°)
OKLaboklab(72.88% 0.1019 -0.0969)
OKLCHoklch(72.88% 0.141 316.4)
XYZxyz(47.1710, 36.2257, 76.4441)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AE2 #A2E28A
analogous
#9E8AE2 #CA8AE2 #E28ACE
triadic
#CA8AE2 #E2CA8A #8AE2CA
tetradic
#CA8AE2 #E29E8A #A2E28A #8ACEE2
square
#CA8AE2 #E29E8A #A2E28A #8ACEE2
split-complementary
#CA8AE2 #CEE28A #8AE29E
monochromatic
#9A30C2 #B459D6 #CA8AE2 #E0BBEE #F4E6F9

Accessibility & contrast

On white

2.55
#CA8AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CA8AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AE2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AE2#FFFFFF#000000##000000
##CA8AE21.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#8CA4DF
Tritanopia (blue-blind)
#C995AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8ae2;
/* rgb */ color: rgb(202, 138, 226);
/* oklch */ color: oklch(72.9% 0.141 316.4);
Tailwind
colors: {
  custom: {
    50: '#dbadeb',
    500: '#ca8ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ae2;
$custom-light: #dbadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ae2",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 283.636,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72877,
    "c": 0.14056,
    "h": 316.4
  },
  "luminance": 0.36225
}

Semantic roles & 50–950 ramp

primary
#CA8AE2
secondary
#DFEFD8
accent
#C81E4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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