#CA5DF9#CA5DF9

#CA5DF9 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.234 H 314.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CA5DF9
RGBrgb(202, 93, 249)
HSLhsl(282, 93%, 67%)
HSVhsv(282, 63%, 98%)
CMYKcmyk(18.9%, 62.7%, 0%, 2.4%)
CIE-LABlab(59.18, 66.69, -59.77)
CIE-LCHlch(59.18, 89.56, 318.13°)
OKLaboklab(67.7% 0.163 -0.1679)
OKLCHoklch(67.7% 0.234 314.2)
XYZxyz(45.3675, 27.2262, 92.4695)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DF9 #8CF95D
analogous
#7C5DF9 #CA5DF9 #F95DDA
triadic
#CA5DF9 #F9CA5D #5DF9CA
tetradic
#CA5DF9 #F97C5D #8CF95D #5DDAF9
square
#CA5DF9 #F97C5D #8CF95D #5DDAF9
split-complementary
#CA5DF9 #DAF95D #5DF97C
monochromatic
#9608D4 #B722F7 #CA5DF9 #DD98FB #F1D3FD

Accessibility & contrast

On white

3.26
#CA5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CA5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DF9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DF9#FFFFFF#000000##000000
##CA5DF91.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B88FE
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#C67AA3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5df9;
/* rgb */ color: rgb(202, 93, 249);
/* oklch */ color: oklch(67.7% 0.234 314.2);
Tailwind
colors: {
  custom: {
    50: '#de91fc',
    500: '#ca5df9',
    950: '#000000',
  },
}
SCSS
$custom: #ca5df9;
$custom-light: #de91fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5df9",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 281.923,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67696,
    "c": 0.23406,
    "h": 314.2
  },
  "luminance": 0.27225
}

Semantic roles & 50–950 ramp

primary
#CA5DF9
secondary
#CFF2C0
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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