#CA8AE4#CA8AE4

#CA8AE4 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.0% C 0.143 H 315.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CA8AE4
RGBrgb(202, 138, 228)
HSLhsl(283, 63%, 72%)
HSVhsv(283, 39%, 89%)
CMYKcmyk(11.4%, 39.5%, 0%, 10.6%)
CIE-LABlab(66.78, 39.84, -36.16)
CIE-LCHlch(66.78, 53.81, 317.78°)
OKLaboklab(72.97% 0.1023 -0.0997)
OKLCHoklch(72.97% 0.143 315.7)
XYZxyz(47.4471, 36.3361, 77.8979)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AE4 #A4E48A
analogous
#9D8AE4 #CA8AE4 #E48AD1
triadic
#CA8AE4 #E4CA8A #8AE4CA
tetradic
#CA8AE4 #E49D8A #A4E48A #8AD1E4
square
#CA8AE4 #E49D8A #A4E48A #8AD1E4
split-complementary
#CA8AE4 #D1E48A #8AE49D
monochromatic
#9A2EC6 #B358D9 #CA8AE4 #E1BCEF #F4E6F9

Accessibility & contrast

On white

2.54
#CA8AE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CA8AE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AE4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AE4#FFFFFF#000000##000000
##CA8AE41.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FE7
Deuteranopia (green-blind)
#8BA4E1
Tritanopia (blue-blind)
#C996AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca8ae4;
/* rgb */ color: rgb(202, 138, 228);
/* oklch */ color: oklch(73.0% 0.143 315.7);
Tailwind
colors: {
  custom: {
    50: '#dbaded',
    500: '#ca8ae4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ae4;
$custom-light: #dbaded;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ae4",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 282.667,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72968,
    "c": 0.1428,
    "h": 315.7
  },
  "luminance": 0.36335
}

Semantic roles & 50–950 ramp

primary
#CA8AE4
secondary
#E0F0D9
accent
#CA1B4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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