#CA5BFD#CA5BFD

#CA5BFD is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.240 H 313.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CA5BFD
RGBrgb(202, 91, 253)
HSLhsl(281, 98%, 67%)
HSVhsv(281, 64%, 99%)
CMYKcmyk(20.2%, 64%, 0%, 0.8%)
CIE-LABlab(59.10, 68.37, -62.12)
CIE-LCHlch(59.10, 92.38, 317.74°)
OKLaboklab(67.71% 0.1651 -0.1748)
OKLCHoklch(67.71% 0.24 313.4)
XYZxyz(45.8248, 27.1319, 95.7325)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BFD #8EFD5B
analogous
#795BFD #CA5BFD #FD5BDF
triadic
#CA5BFD #FDCA5B #5BFDCA
tetradic
#CA5BFD #FD795B #8EFD5B #5BDFFD
square
#CA5BFD #FD795B #8EFD5B #5BDFFD
split-complementary
#CA5BFD #DFFD5B #5BFD79
monochromatic
#9703DB #B61FFC #CA5BFD #DE97FE #F1D4FE

Accessibility & contrast

On white

3.27
#CA5BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CA5BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BFD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BFD#FFFFFF#000000##000000
##CA5BFD1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca5bfd;
/* rgb */ color: rgb(202, 91, 253);
/* oklch */ color: oklch(67.7% 0.240 313.4);
Tailwind
colors: {
  custom: {
    50: '#de90ff',
    500: '#ca5bfd',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bfd;
$custom-light: #de90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bfd",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 253
  },
  "hsl": {
    "h": 281.111,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67708,
    "c": 0.24048,
    "h": 313.4
  },
  "luminance": 0.27131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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