#CA5DC2#CA5DC2

#CA5DC2 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.7% C 0.184 H 330.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CA5DC2
RGBrgb(202, 93, 194)
HSLhsl(304, 51%, 58%)
HSVhsv(304, 54%, 79%)
CMYKcmyk(0%, 54%, 4%, 20.8%)
CIE-LABlab(56.37, 56.43, -33.25)
CIE-LCHlch(56.37, 65.50, 329.49°)
OKLaboklab(64.73% 0.1597 -0.091)
OKLCHoklch(64.73% 0.184 330.3)
XYZxyz(38.0088, 24.2827, 53.7135)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DC2 #5DCA65
analogous
#9C5DCA #CA5DC2 #CA5D8B
triadic
#CA5DC2 #C2CA5D #5DC2CA
tetradic
#CA5DC2 #CA9C5D #5DCA65 #5D8BCA
square
#CA5DC2 #CA9C5D #5DCA65 #5D8BCA
split-complementary
#CA5DC2 #8BCA5D #5DCA9C
monochromatic
#822B7C #B03AA7 #CA5DC2 #D98BD3 #E8B9E5

Accessibility & contrast

On white

3.59
#CA5DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CA5DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DC2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DC2#FFFFFF#000000##000000
##CA5DC21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#D16787
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5dc2;
/* rgb */ color: rgb(202, 93, 194);
/* oklch */ color: oklch(64.7% 0.184 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd90d4',
    500: '#ca5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5dc2;
$custom-light: #dd90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5dc2",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 304.404,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.18382,
    "h": 330.3
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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