#CA8CE2#CA8CE2

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

Color values

HEX#CA8CE2
RGBrgb(202, 140, 226)
HSLhsl(283, 60%, 72%)
HSVhsv(283, 38%, 89%)
CMYKcmyk(10.6%, 38.1%, 0%, 11.4%)
CIE-LABlab(67.13, 38.35, -34.50)
CIE-LCHlch(67.13, 51.59, 318.03°)
OKLaboklab(73.21% 0.099 -0.0949)
OKLCHoklch(73.21% 0.137 316.2)
XYZxyz(47.4606, 36.8049, 76.5407)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CE2 #A4E28C
analogous
#9F8CE2 #CA8CE2 #E28CCF
triadic
#CA8CE2 #E2CA8C #8CE2CA
tetradic
#CA8CE2 #E29F8C #A4E28C #8CCFE2
square
#CA8CE2 #E29F8C #A4E28C #8CCFE2
split-complementary
#CA8CE2 #CFE28C #8CE29F
monochromatic
#9A31C3 #B35BD6 #CA8CE2 #E1BDEE #F4E7F9

Accessibility & contrast

On white

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

On black

8.36
#CA8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CE2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CE2#FFFFFF#000000##000000
##CA8CE21.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E5
Deuteranopia (green-blind)
#8EA5DF
Tritanopia (blue-blind)
#C997AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca8ce2;
/* rgb */ color: rgb(202, 140, 226);
/* oklch */ color: oklch(73.2% 0.137 316.2);
Tailwind
colors: {
  custom: {
    50: '#dbaeeb',
    500: '#ca8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ce2;
$custom-light: #dbaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ce2",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 283.256,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.13713,
    "h": 316.2
  },
  "luminance": 0.36804
}

Semantic roles & 50–950 ramp

primary
#CA8CE2
secondary
#E0F0DA
accent
#C71E4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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