#CA5EEC#CA5EEC

#CA5EEC is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.220 H 317.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CA5EEC
RGBrgb(202, 94, 236)
HSLhsl(286, 79%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(14.4%, 60.2%, 0%, 7.5%)
CIE-LABlab(58.62, 63.67, -53.44)
CIE-LCHlch(58.62, 83.13, 319.99°)
OKLaboklab(67.05% 0.1619 -0.1494)
OKLCHoklch(67.05% 0.22 317.3)
XYZxyz(43.4980, 26.6198, 82.1875)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EEC #80EC5E
analogous
#835EEC #CA5EEC #EC5EC7
triadic
#CA5EEC #ECCA5E #5EECCA
tetradic
#CA5EEC #EC835E #80EC5E #5EC7EC
square
#CA5EEC #EC835E #80EC5E #5EC7EC
split-complementary
#CA5EEC #C7EC5E #5EEC83
monochromatic
#9216BA #B827E6 #CA5EEC #DC95F2 #EECBF9

Accessibility & contrast

On white

3.32
#CA5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CA5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EEC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EEC#FFFFFF#000000##000000
##CA5EEC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#C9769D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5eec;
/* rgb */ color: rgb(202, 94, 236);
/* oklch */ color: oklch(67.1% 0.220 317.3);
Tailwind
colors: {
  custom: {
    50: '#dd91f3',
    500: '#ca5eec',
    950: '#000000',
  },
}
SCSS
$custom: #ca5eec;
$custom-light: #dd91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5eec",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 285.634,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67055,
    "c": 0.22036,
    "h": 317.3
  },
  "luminance": 0.26618
}

Semantic roles & 50–950 ramp

primary
#CA5EEC
secondary
#C6EBBB
accent
#DB0A3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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