#CA5AFD#CA5AFD

#CA5AFD is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.6% C 0.242 H 313.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CA5AFD
RGBrgb(202, 90, 253)
HSLhsl(281, 98%, 67%)
HSVhsv(281, 64%, 99%)
CMYKcmyk(20.2%, 64.4%, 0%, 0.8%)
CIE-LABlab(58.94, 68.81, -62.38)
CIE-LCHlch(58.94, 92.87, 317.81°)
OKLaboklab(67.6% 0.1662 -0.1756)
OKLCHoklch(67.6% 0.242 313.4)
XYZxyz(45.7399, 26.9621, 95.7042)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AFD #8DFD5A
analogous
#795AFD #CA5AFD #FD5ADF
triadic
#CA5AFD #FDCA5A #5AFDCA
tetradic
#CA5AFD #FD795A #8DFD5A #5ADFFD
square
#CA5AFD #FD795A #8DFD5A #5ADFFD
split-complementary
#CA5AFD #DFFD5A #5AFD79
monochromatic
#9703DA #B71EFC #CA5AFD #DD96FE #F1D3FE

Accessibility & contrast

On white

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

On black

6.39
#CA5AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AFD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AFD#FFFFFF#000000##000000
##CA5AFD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#C57AA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5afd;
/* rgb */ color: rgb(202, 90, 253);
/* oklch */ color: oklch(67.6% 0.242 313.4);
Tailwind
colors: {
  custom: {
    50: '#de90ff',
    500: '#ca5afd',
    950: '#000000',
  },
}
SCSS
$custom: #ca5afd;
$custom-light: #de90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5afd",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 281.227,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67595,
    "c": 0.24176,
    "h": 313.4
  },
  "luminance": 0.26961
}

Semantic roles & 50–950 ramp

primary
#CA5AFD
secondary
#D0F3C0
accent
#E60048
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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