#CA5FD8#CA5FD8

#CA5FD8 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.1% C 0.200 H 322.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CA5FD8
RGBrgb(202, 95, 216)
HSLhsl(293, 61%, 61%)
HSVhsv(293, 56%, 85%)
CMYKcmyk(6.5%, 56%, 0%, 15.3%)
CIE-LABlab(57.75, 59.41, -43.60)
CIE-LCHlch(57.75, 73.69, 323.73°)
OKLaboklab(66.09% 0.1597 -0.1208)
OKLCHoklch(66.09% 0.2 322.9)
XYZxyz(40.8428, 25.7009, 67.7619)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD8 #6DD85F
analogous
#8D5FD8 #CA5FD8 #D85FA9
triadic
#CA5FD8 #D8CA5F #5FD8CA
tetradic
#CA5FD8 #D88D5F #6DD85F #5FA9D8
square
#CA5FD8 #D88D5F #6DD85F #5FA9D8
split-complementary
#CA5FD8 #A9D85F #5FD88D
monochromatic
#8A2598 #B731C9 #CA5FD8 #DA90E4 #EBC1F0

Accessibility & contrast

On white

3.42
#CA5FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CA5FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD8#FFFFFF#000000##000000
##CA5FD81.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DC
Deuteranopia (green-blind)
#6F8FD5
Tritanopia (blue-blind)
#CD7093
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5fd8;
/* rgb */ color: rgb(202, 95, 216);
/* oklch */ color: oklch(66.1% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#dd91e4',
    500: '#ca5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd8;
$custom-light: #dd91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd8",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 293.058,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.20023,
    "h": 322.9
  },
  "luminance": 0.25699
}

Semantic roles & 50–950 ramp

primary
#CA5FD8
secondary
#B8E0B3
accent
#C81D31
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CA5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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