#CA5EC1#CA5EC1

#CA5EC1 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.8% C 0.181 H 330.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CA5EC1
RGBrgb(202, 94, 193)
HSLhsl(305, 50%, 58%)
HSVhsv(305, 53%, 79%)
CMYKcmyk(0%, 53.5%, 4.5%, 20.8%)
CIE-LABlab(56.50, 55.79, -32.48)
CIE-LCHlch(56.50, 64.56, 329.80°)
OKLaboklab(64.82% 0.1582 -0.0888)
OKLCHoklch(64.82% 0.181 330.7)
XYZxyz(37.9852, 24.4147, 53.1535)
Luminance0.2441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EC1 #5ECA67
analogous
#9D5ECA #CA5EC1 #CA5E8B
triadic
#CA5EC1 #C1CA5E #5EC1CA
tetradic
#CA5EC1 #CA9D5E #5ECA67 #5E8BCA
square
#CA5EC1 #CA9D5E #5ECA67 #5E8BCA
split-complementary
#CA5EC1 #8BCA5E #5ECA9D
monochromatic
#832B7B #B13AA7 #CA5EC1 #D98CD3 #E8BAE4

Accessibility & contrast

On white

3.57
#CA5EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CA5EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EC1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EC1#FFFFFF#000000##000000
##CA5EC11.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC4
Deuteranopia (green-blind)
#798DBE
Tritanopia (blue-blind)
#D16787
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5ec1;
/* rgb */ color: rgb(202, 94, 193);
/* oklch */ color: oklch(64.8% 0.181 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd90d4',
    500: '#ca5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ec1;
$custom-light: #dd90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ec1",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 305,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64815,
    "c": 0.18144,
    "h": 330.7
  },
  "luminance": 0.24412
}

Semantic roles & 50–950 ramp

primary
#CA5EC1
secondary
#ACD7B0
accent
#DA5A4E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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