#CA5FD1#CA5FD1

#CA5FD1 is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.194 H 325.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CA5FD1
RGBrgb(202, 95, 209)
HSLhsl(296, 55%, 60%)
HSVhsv(296, 55%, 82%)
CMYKcmyk(3.3%, 54.5%, 0%, 18%)
CIE-LABlab(57.41, 58.13, -40.17)
CIE-LCHlch(57.41, 70.66, 325.35°)
OKLaboklab(65.72% 0.159 -0.1109)
OKLCHoklch(65.72% 0.194 325.1)
XYZxyz(39.9570, 25.3466, 63.0970)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD1 #66D15F
analogous
#915FD1 #CA5FD1 #D15F9F
triadic
#CA5FD1 #D1CA5F #5FD1CA
tetradic
#CA5FD1 #D1915F #66D15F #5F9FD1
square
#CA5FD1 #D1915F #66D15F #5F9FD1
split-complementary
#CA5FD1 #9FD15F #5FD191
monochromatic
#87298D #B436BD #CA5FD1 #DA8FDF #E9BEEC

Accessibility & contrast

On white

3.46
#CA5FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CA5FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD1#FFFFFF#000000##000000
##CA5FD11.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D5
Deuteranopia (green-blind)
#738FCE
Tritanopia (blue-blind)
#CE6D8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5fd1;
/* rgb */ color: rgb(202, 95, 209);
/* oklch */ color: oklch(65.7% 0.194 325.1);
Tailwind
colors: {
  custom: {
    50: '#dd91df',
    500: '#ca5fd1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd1;
$custom-light: #dd91df;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd1",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 296.316,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.19387,
    "h": 325.1
  },
  "luminance": 0.25344
}

Semantic roles & 50–950 ramp

primary
#CA5FD1
secondary
#B2DCB0
accent
#DF4952
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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