#CA5DF4#CA5DF4

#CA5DF4 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.229 H 315.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CA5DF4
RGBrgb(202, 93, 244)
HSLhsl(283, 87%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.2%, 61.9%, 0%, 4.3%)
CIE-LABlab(58.90, 65.69, -57.45)
CIE-LCHlch(58.90, 87.27, 318.83°)
OKLaboklab(67.4% 0.1631 -0.1612)
OKLCHoklch(67.4% 0.229 315.3)
XYZxyz(44.5980, 26.9184, 88.4169)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DF4 #87F45D
analogous
#7E5DF4 #CA5DF4 #F45DD2
triadic
#CA5DF4 #F4CA5D #5DF4CA
tetradic
#CA5DF4 #F47E5D #87F45D #5DD2F4
square
#CA5DF4 #F47E5D #87F45D #5DD2F4
split-complementary
#CA5DF4 #D2F45D #5DF47E
monochromatic
#950EC9 #B724F0 #CA5DF4 #DD96F8 #EFD0FC

Accessibility & contrast

On white

3.29
#CA5DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CA5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DF4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DF4#FFFFFF#000000##000000
##CA5DF41.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F9
Deuteranopia (green-blind)
#5B91F0
Tritanopia (blue-blind)
#C778A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5df4;
/* rgb */ color: rgb(202, 93, 244);
/* oklch */ color: oklch(67.4% 0.229 315.3);
Tailwind
colors: {
  custom: {
    50: '#de91f8',
    500: '#ca5df4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5df4;
$custom-light: #de91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5df4",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 283.311,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67399,
    "c": 0.22931,
    "h": 315.3
  },
  "luminance": 0.26917
}

Semantic roles & 50–950 ramp

primary
#CA5DF4
secondary
#CBEFBE
accent
#E40241
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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