#CA5DEA#CA5DEA

#CA5DEA is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.8% C 0.220 H 317.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CA5DEA
RGBrgb(202, 93, 234)
HSLhsl(286, 77%, 64%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(13.7%, 60.3%, 0%, 8.2%)
CIE-LABlab(58.35, 63.74, -52.76)
CIE-LCHlch(58.35, 82.74, 320.38°)
OKLaboklab(66.82% 0.1631 -0.1475)
OKLCHoklch(66.82% 0.22 317.9)
XYZxyz(43.1207, 26.3275, 80.6363)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DEA #7DEA5D
analogous
#845DEA #CA5DEA #EA5DC4
triadic
#CA5DEA #EACA5D #5DEACA
tetradic
#CA5DEA #EA845D #7DEA5D #5DC4EA
square
#CA5DEA #EA845D #7DEA5D #5DC4EA
split-complementary
#CA5DEA #C4EA5D #5DEA84
monochromatic
#9117B5 #B827E3 #CA5DEA #DC93F1 #EDC9F8

Accessibility & contrast

On white

3.35
#CA5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CA5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DEA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DEA#FFFFFF#000000##000000
##CA5DEA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#C9759B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5dea;
/* rgb */ color: rgb(202, 93, 234);
/* oklch */ color: oklch(66.8% 0.220 317.9);
Tailwind
colors: {
  custom: {
    50: '#dd91f1',
    500: '#ca5dea',
    950: '#000000',
  },
}
SCSS
$custom: #ca5dea;
$custom-light: #dd91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5dea",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 286.383,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.21986,
    "h": 317.9
  },
  "luminance": 0.26326
}

Semantic roles & 50–950 ramp

primary
#CA5DEA
secondary
#C4EAB9
accent
#D90C3B
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #CA5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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