#CA5DF5#CA5DF5

#CA5DF5 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.230 H 315.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CA5DF5
RGBrgb(202, 93, 245)
HSLhsl(283, 88%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.6%, 62%, 0%, 3.9%)
CIE-LABlab(58.96, 65.89, -57.92)
CIE-LCHlch(58.96, 87.73, 318.68°)
OKLaboklab(67.46% 0.1631 -0.1625)
OKLCHoklch(67.46% 0.23 315.1)
XYZxyz(44.7503, 26.9793, 89.2187)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DF5 #88F55D
analogous
#7E5DF5 #CA5DF5 #F55DD4
triadic
#CA5DF5 #F5CA5D #5DF5CA
tetradic
#CA5DF5 #F57E5D #88F55D #5DD4F5
square
#CA5DF5 #F57E5D #88F55D #5DD4F5
split-complementary
#CA5DF5 #D4F55D #5DF57E
monochromatic
#950DCB #B723F1 #CA5DF5 #DD97F9 #F0D0FC

Accessibility & contrast

On white

3.28
#CA5DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CA5DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DF5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DF5#FFFFFF#000000##000000
##CA5DF51.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FA
Deuteranopia (green-blind)
#5A91F1
Tritanopia (blue-blind)
#C779A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5df5;
/* rgb */ color: rgb(202, 93, 245);
/* oklch */ color: oklch(67.5% 0.230 315.1);
Tailwind
colors: {
  custom: {
    50: '#de91f9',
    500: '#ca5df5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5df5;
$custom-light: #de91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5df5",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 283.026,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67458,
    "c": 0.23026,
    "h": 315.1
  },
  "luminance": 0.26978
}

Semantic roles & 50–950 ramp

primary
#CA5DF5
secondary
#CCF0BE
accent
#E50141
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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