#CA5DF6#CA5DF6

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

Color values

HEX#CA5DF6
RGBrgb(202, 93, 246)
HSLhsl(283, 89%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.9%, 62.2%, 0%, 3.5%)
CIE-LABlab(59.01, 66.09, -58.38)
CIE-LCHlch(59.01, 88.19, 318.54°)
OKLaboklab(67.52% 0.1631 -0.1639)
OKLCHoklch(67.52% 0.231 314.9)
XYZxyz(44.9033, 27.0406, 90.0249)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DF6 #89F65D
analogous
#7E5DF6 #CA5DF6 #F65DD6
triadic
#CA5DF6 #F6CA5D #5DF6CA
tetradic
#CA5DF6 #F67E5D #89F65D #5DD6F6
square
#CA5DF6 #F67E5D #89F65D #5DD6F6
split-complementary
#CA5DF6 #D6F65D #5DF67E
monochromatic
#950BCD #B723F3 #CA5DF6 #DD97F9 #F0D1FC

Accessibility & contrast

On white

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

On black

6.41
#CA5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DF6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DF6#FFFFFF#000000##000000
##CA5DF61.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FB
Deuteranopia (green-blind)
#5991F2
Tritanopia (blue-blind)
#C779A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5df6;
/* rgb */ color: rgb(202, 93, 246);
/* oklch */ color: oklch(67.5% 0.231 314.9);
Tailwind
colors: {
  custom: {
    50: '#de91fa',
    500: '#ca5df6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5df6;
$custom-light: #de91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5df6",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 282.745,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.23121,
    "h": 314.9
  },
  "luminance": 0.27039
}

Semantic roles & 50–950 ramp

primary
#CA5DF6
secondary
#CDF0BF
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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