#CA5FD9#CA5FD9

#CA5FD9 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.1% C 0.201 H 322.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CA5FD9
RGBrgb(202, 95, 217)
HSLhsl(293, 62%, 61%)
HSVhsv(293, 56%, 85%)
CMYKcmyk(6.9%, 56.2%, 0%, 14.9%)
CIE-LABlab(57.80, 59.60, -44.08)
CIE-LCHlch(57.80, 74.13, 323.51°)
OKLaboklab(66.14% 0.1598 -0.1222)
OKLCHoklch(66.14% 0.201 322.6)
XYZxyz(40.9724, 25.7528, 68.4448)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD9 #6ED95F
analogous
#8D5FD9 #CA5FD9 #D95FAB
triadic
#CA5FD9 #D9CA5F #5FD9CA
tetradic
#CA5FD9 #D98D5F #6ED95F #5FABD9
square
#CA5FD9 #D98D5F #6ED95F #5FABD9
split-complementary
#CA5FD9 #ABD95F #5FD98D
monochromatic
#8B2499 #B830CB #CA5FD9 #DA90E5 #EBC2F0

Accessibility & contrast

On white

3.41
#CA5FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CA5FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD9#FFFFFF#000000##000000
##CA5FD91.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#6E8FD6
Tritanopia (blue-blind)
#CD7093
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5fd9;
/* rgb */ color: rgb(202, 95, 217);
/* oklch */ color: oklch(66.1% 0.201 322.6);
Tailwind
colors: {
  custom: {
    50: '#dd92e5',
    500: '#ca5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd9;
$custom-light: #dd92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd9",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 292.623,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66138,
    "c": 0.20116,
    "h": 322.6
  },
  "luminance": 0.25751
}

Semantic roles & 50–950 ramp

primary
#CA5FD9
secondary
#B9E1B3
accent
#C91C31
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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