#CA5FD6#CA5FD6

#CA5FD6 is a light, vivid purple. Relative luminance 0.256; OKLCH L 66.0% C 0.198 H 323.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CA5FD6
RGBrgb(202, 95, 214)
HSLhsl(294, 59%, 61%)
HSVhsv(294, 56%, 84%)
CMYKcmyk(5.6%, 55.6%, 0%, 16.1%)
CIE-LABlab(57.65, 59.04, -42.62)
CIE-LCHlch(57.65, 72.82, 324.18°)
OKLaboklab(65.98% 0.1595 -0.118)
OKLCHoklch(65.98% 0.198 323.5)
XYZxyz(40.5858, 25.5981, 66.4084)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD6 #6BD65F
analogous
#8F5FD6 #CA5FD6 #D65FA6
triadic
#CA5FD6 #D6CA5F #5FD6CA
tetradic
#CA5FD6 #D68F5F #6BD65F #5FA6D6
square
#CA5FD6 #D68F5F #6BD65F #5FA6D6
split-complementary
#CA5FD6 #A6D65F #5FD68F
monochromatic
#892695 #B633C5 #CA5FD6 #DA90E2 #EAC0EF

Accessibility & contrast

On white

3.43
#CA5FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CA5FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD6#FFFFFF#000000##000000
##CA5FD61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82DA
Deuteranopia (green-blind)
#708FD3
Tritanopia (blue-blind)
#CD6F92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5fd6;
/* rgb */ color: rgb(202, 95, 214);
/* oklch */ color: oklch(66.0% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#dd91e3',
    500: '#ca5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd6;
$custom-light: #dd91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd6",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 293.95,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65981,
    "c": 0.19841,
    "h": 323.5
  },
  "luminance": 0.25596
}

Semantic roles & 50–950 ramp

primary
#CA5FD6
secondary
#B6DFB2
accent
#C71F30
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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