#CA5EC4#CA5EC4

#CA5EC4 is a light, vivid purple. Relative luminance 0.245; OKLCH L 65.0% C 0.184 H 329.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CA5EC4
RGBrgb(202, 94, 196)
HSLhsl(303, 50%, 58%)
HSVhsv(303, 53%, 79%)
CMYKcmyk(0%, 53.5%, 3%, 20.8%)
CIE-LABlab(56.63, 56.31, -33.99)
CIE-LCHlch(56.63, 65.77, 328.88°)
OKLaboklab(64.96% 0.1587 -0.0931)
OKLCHoklch(64.96% 0.184 329.6)
XYZxyz(38.3232, 24.5499, 54.9339)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EC4 #5ECA64
analogous
#9A5ECA #CA5EC4 #CA5E8E
triadic
#CA5EC4 #C4CA5E #5EC4CA
tetradic
#CA5EC4 #CA9A5E #5ECA64 #5E8ECA
square
#CA5EC4 #CA9A5E #5ECA64 #5E8ECA
split-complementary
#CA5EC4 #8ECA5E #5ECA9A
monochromatic
#832B7E #B13AAA #CA5EC4 #D98CD5 #E8BAE6

Accessibility & contrast

On white

3.55
#CA5EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CA5EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EC4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EC4#FFFFFF#000000##000000
##CA5EC41.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC7
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#D16888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5ec4;
/* rgb */ color: rgb(202, 94, 196);
/* oklch */ color: oklch(65.0% 0.184 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd90d6',
    500: '#ca5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ec4;
$custom-light: #dd90d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ec4",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 303.333,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64957,
    "c": 0.18397,
    "h": 329.6
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#CA5EC4
secondary
#ACD7AF
accent
#DA564E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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