#CA5FD5#CA5FD5

#CA5FD5 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.197 H 323.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CA5FD5
RGBrgb(202, 95, 213)
HSLhsl(294, 58%, 60%)
HSVhsv(294, 55%, 84%)
CMYKcmyk(5.2%, 55.4%, 0%, 16.5%)
CIE-LABlab(57.60, 58.86, -42.13)
CIE-LCHlch(57.60, 72.38, 324.40°)
OKLaboklab(65.93% 0.1594 -0.1166)
OKLCHoklch(65.93% 0.197 323.8)
XYZxyz(40.4585, 25.5472, 65.7379)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD5 #6AD55F
analogous
#8F5FD5 #CA5FD5 #D55FA5
triadic
#CA5FD5 #D5CA5F #5FD5CA
tetradic
#CA5FD5 #D58F5F #6AD55F #5FA5D5
square
#CA5FD5 #D58F5F #6AD55F #5FA5D5
split-complementary
#CA5FD5 #A5D55F #5FD58F
monochromatic
#892793 #B633C3 #CA5FD5 #DA8FE2 #EAC0EE

Accessibility & contrast

On white

3.44
#CA5FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CA5FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD5#FFFFFF#000000##000000
##CA5FD51.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D9
Deuteranopia (green-blind)
#718FD2
Tritanopia (blue-blind)
#CD6F91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5fd5;
/* rgb */ color: rgb(202, 95, 213);
/* oklch */ color: oklch(65.9% 0.197 323.8);
Tailwind
colors: {
  custom: {
    50: '#dd91e2',
    500: '#ca5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd5;
$custom-light: #dd91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd5",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 294.407,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65929,
    "c": 0.19749,
    "h": 323.8
  },
  "luminance": 0.25545
}

Semantic roles & 50–950 ramp

primary
#CA5FD5
secondary
#B6DEB1
accent
#C61F2F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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