#CA8EE4#CA8EE4

#CA8EE4 is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.6% C 0.136 H 315.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CA8EE4
RGBrgb(202, 142, 228)
HSLhsl(282, 61%, 73%)
HSVhsv(282, 38%, 89%)
CMYKcmyk(11.4%, 37.7%, 0%, 10.6%)
CIE-LABlab(67.65, 37.68, -34.79)
CIE-LCHlch(67.65, 51.29, 317.28°)
OKLaboklab(73.63% 0.0965 -0.0958)
OKLCHoklch(73.63% 0.136 315.2)
XYZxyz(48.0315, 37.5051, 78.0927)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EE4 #A8E48E
analogous
#9F8EE4 #CA8EE4 #E48ED3
triadic
#CA8EE4 #E4CA8E #8EE4CA
tetradic
#CA8EE4 #E49F8E #A8E48E #8ED3E4
square
#CA8EE4 #E49F8E #A8E48E #8ED3E4
split-complementary
#CA8EE4 #D3E48E #8EE49F
monochromatic
#9A30C8 #B35DD8 #CA8EE4 #E1BFF0 #F3E6F9

Accessibility & contrast

On white

2.47
#CA8EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CA8EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EE4
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EE4#FFFFFF#000000##000000
##CA8EE41.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A1E7
Deuteranopia (green-blind)
#8FA7E1
Tritanopia (blue-blind)
#C999AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8ee4;
/* rgb */ color: rgb(202, 142, 228);
/* oklch */ color: oklch(73.6% 0.136 315.2);
Tailwind
colors: {
  custom: {
    50: '#dbb0ec',
    500: '#ca8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ee4;
$custom-light: #dbb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ee4",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 281.86,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73631,
    "c": 0.13596,
    "h": 315.2
  },
  "luminance": 0.37504
}

Semantic roles & 50–950 ramp

primary
#CA8EE4
secondary
#E1F0DB
accent
#C91C51
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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