#CA5FD4#CA5FD4

#CA5FD4 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.197 H 324.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CA5FD4
RGBrgb(202, 95, 212)
HSLhsl(295, 58%, 60%)
HSVhsv(295, 55%, 83%)
CMYKcmyk(4.7%, 55.2%, 0%, 16.9%)
CIE-LABlab(57.56, 58.68, -41.64)
CIE-LCHlch(57.56, 71.95, 324.64°)
OKLaboklab(65.88% 0.1593 -0.1152)
OKLCHoklch(65.88% 0.197 324.1)
XYZxyz(40.3319, 25.4966, 65.0715)
Luminance0.2549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD4 #69D45F
analogous
#905FD4 #CA5FD4 #D45FA3
triadic
#CA5FD4 #D4CA5F #5FD4CA
tetradic
#CA5FD4 #D4905F #69D45F #5FA3D4
square
#CA5FD4 #D4905F #69D45F #5FA3D4
split-complementary
#CA5FD4 #A3D45F #5FD490
monochromatic
#882791 #B634C2 #CA5FD4 #DA8FE1 #EABFEE

Accessibility & contrast

On white

3.44
#CA5FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CA5FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD4#FFFFFF#000000##000000
##CA5FD41.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D8
Deuteranopia (green-blind)
#718FD1
Tritanopia (blue-blind)
#CE6E91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5fd4;
/* rgb */ color: rgb(202, 95, 212);
/* oklch */ color: oklch(65.9% 0.197 324.1);
Tailwind
colors: {
  custom: {
    50: '#dd91e1',
    500: '#ca5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd4;
$custom-light: #dd91e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd4",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 294.872,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.19658,
    "h": 324.1
  },
  "luminance": 0.25494
}

Semantic roles & 50–950 ramp

primary
#CA5FD4
secondary
#B5DEB1
accent
#C5202E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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