#CA5DF3#CA5DF3

#CA5DF3 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.228 H 315.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CA5DF3
RGBrgb(202, 93, 243)
HSLhsl(284, 86%, 66%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16.9%, 61.7%, 0%, 4.7%)
CIE-LABlab(58.84, 65.50, -56.99)
CIE-LCHlch(58.84, 86.82, 318.97°)
OKLaboklab(67.34% 0.1631 -0.1598)
OKLCHoklch(67.34% 0.228 315.6)
XYZxyz(44.4466, 26.8579, 87.6194)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DF3 #86F35D
analogous
#7F5DF3 #CA5DF3 #F35DD1
triadic
#CA5DF3 #F3CA5D #5DF3CA
tetradic
#CA5DF3 #F37F5D #86F35D #5DD1F3
square
#CA5DF3 #F37F5D #86F35D #5DD1F3
split-complementary
#CA5DF3 #D1F35D #5DF37F
monochromatic
#950FC7 #B724EF #CA5DF3 #DD96F7 #EFCFFB

Accessibility & contrast

On white

3.30
#CA5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CA5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DF3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DF3#FFFFFF#000000##000000
##CA5DF31.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2887F8
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#C778A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5df3;
/* rgb */ color: rgb(202, 93, 243);
/* oklch */ color: oklch(67.3% 0.228 315.6);
Tailwind
colors: {
  custom: {
    50: '#de91f8',
    500: '#ca5df3',
    950: '#000000',
  },
}
SCSS
$custom: #ca5df3;
$custom-light: #de91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5df3",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 283.6,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6734,
    "c": 0.22837,
    "h": 315.6
  },
  "luminance": 0.26856
}

Semantic roles & 50–950 ramp

primary
#CA5DF3
secondary
#CBEFBD
accent
#E30340
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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