#CA8EE2#CA8EE2

#CA8EE2 is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.5% C 0.134 H 315.9°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CA8EE2
RGBrgb(202, 142, 226)
HSLhsl(283, 59%, 72%)
HSVhsv(283, 37%, 89%)
CMYKcmyk(10.6%, 37.2%, 0%, 11.4%)
CIE-LABlab(67.57, 37.27, -33.82)
CIE-LCHlch(67.57, 50.33, 317.78°)
OKLaboklab(73.54% 0.0961 -0.093)
OKLCHoklch(73.54% 0.134 315.9)
XYZxyz(47.7555, 37.3947, 76.6390)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EE2 #A6E28E
analogous
#A08EE2 #CA8EE2 #E28ED0
triadic
#CA8EE2 #E2CA8E #8EE2CA
tetradic
#CA8EE2 #E2A08E #A6E28E #8ED0E2
square
#CA8EE2 #E2A08E #A6E28E #8ED0E2
split-complementary
#CA8EE2 #D0E28E #8EE2A0
monochromatic
#9A32C3 #B35DD6 #CA8EE2 #E1BFEE #F4E7F9

Accessibility & contrast

On white

2.48
#CA8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CA8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EE2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EE2#FFFFFF#000000##000000
##CA8EE21.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#C999AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8ee2;
/* rgb */ color: rgb(202, 142, 226);
/* oklch */ color: oklch(73.5% 0.134 315.9);
Tailwind
colors: {
  custom: {
    50: '#dbb0eb',
    500: '#ca8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ee2;
$custom-light: #dbb0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ee2",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 282.857,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73542,
    "c": 0.1337,
    "h": 315.9
  },
  "luminance": 0.37394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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