#CA5EC2#CA5EC2

#CA5EC2 is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.9% C 0.182 H 330.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CA5EC2
RGBrgb(202, 94, 194)
HSLhsl(304, 50%, 58%)
HSVhsv(304, 53%, 79%)
CMYKcmyk(0%, 53.5%, 4%, 20.8%)
CIE-LABlab(56.54, 55.96, -32.98)
CIE-LCHlch(56.54, 64.96, 329.49°)
OKLaboklab(64.86% 0.1584 -0.0902)
OKLCHoklch(64.86% 0.182 330.3)
XYZxyz(38.0971, 24.4594, 53.7430)
Luminance0.2446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EC2 #5ECA66
analogous
#9C5ECA #CA5EC2 #CA5E8C
triadic
#CA5EC2 #C2CA5E #5EC2CA
tetradic
#CA5EC2 #CA9C5E #5ECA66 #5E8CCA
square
#CA5EC2 #CA9C5E #5ECA66 #5E8CCA
split-complementary
#CA5EC2 #8CCA5E #5ECA9C
monochromatic
#832B7C #B13AA8 #CA5EC2 #D98CD3 #E8BAE5

Accessibility & contrast

On white

3.56
#CA5EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CA5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EC2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EC2#FFFFFF#000000##000000
##CA5EC21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#D16887
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5ec2;
/* rgb */ color: rgb(202, 94, 194);
/* oklch */ color: oklch(64.9% 0.182 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd90d4',
    500: '#ca5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ec2;
$custom-light: #dd90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ec2",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 304.444,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64862,
    "c": 0.18228,
    "h": 330.3
  },
  "luminance": 0.24457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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