#CA5EEA#CA5EEA

#CA5EEA is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.9% C 0.218 H 317.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CA5EEA
RGBrgb(202, 94, 234)
HSLhsl(286, 77%, 64%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(13.7%, 59.8%, 0%, 8.2%)
CIE-LABlab(58.51, 63.28, -52.50)
CIE-LCHlch(58.51, 82.23, 320.32°)
OKLaboklab(66.94% 0.1619 -0.1467)
OKLCHoklch(66.94% 0.218 317.8)
XYZxyz(43.2090, 26.5042, 80.6657)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EEA #7EEA5E
analogous
#845EEA #CA5EEA #EA5EC4
triadic
#CA5EEA #EACA5E #5EEACA
tetradic
#CA5EEA #EA845E #7EEA5E #5EC4EA
square
#CA5EEA #EA845E #7EEA5E #5EC4EA
split-complementary
#CA5EEA #C4EA5E #5EEA84
monochromatic
#9218B6 #B828E3 #CA5EEA #DC94F1 #EECAF8

Accessibility & contrast

On white

3.33
#CA5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CA5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EEA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EEA#FFFFFF#000000##000000
##CA5EEA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#C9759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5eea;
/* rgb */ color: rgb(202, 94, 234);
/* oklch */ color: oklch(66.9% 0.218 317.8);
Tailwind
colors: {
  custom: {
    50: '#dd91f1',
    500: '#ca5eea',
    950: '#000000',
  },
}
SCSS
$custom: #ca5eea;
$custom-light: #dd91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5eea",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 286.286,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.21846,
    "h": 317.8
  },
  "luminance": 0.26502
}

Semantic roles & 50–950 ramp

primary
#CA5EEA
secondary
#C5EABA
accent
#D90C3B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #CA5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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