#CA5FD7#CA5FD7

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

Color values

HEX#CA5FD7
RGBrgb(202, 95, 215)
HSLhsl(294, 60%, 61%)
HSVhsv(294, 56%, 84%)
CMYKcmyk(6%, 55.8%, 0%, 15.7%)
CIE-LABlab(57.70, 59.23, -43.11)
CIE-LCHlch(57.70, 73.25, 323.95°)
OKLaboklab(66.03% 0.1596 -0.1194)
OKLCHoklch(66.03% 0.199 323.2)
XYZxyz(40.7139, 25.6493, 67.0831)
Luminance0.2565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD7 #6CD75F
analogous
#8E5FD7 #CA5FD7 #D75FA8
triadic
#CA5FD7 #D7CA5F #5FD7CA
tetradic
#CA5FD7 #D78E5F #6CD75F #5FA8D7
square
#CA5FD7 #D78E5F #6CD75F #5FA8D7
split-complementary
#CA5FD7 #A8D75F #5FD78E
monochromatic
#8A2696 #B732C7 #CA5FD7 #DA90E3 #EAC1EF

Accessibility & contrast

On white

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

On black

6.13
#CA5FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD7#FFFFFF#000000##000000
##CA5FD71.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#CD7092
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5fd7;
/* rgb */ color: rgb(202, 95, 215);
/* oklch */ color: oklch(66.0% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#dd91e4',
    500: '#ca5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd7;
$custom-light: #dd91e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd7",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 293.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.19932,
    "h": 323.2
  },
  "luminance": 0.25647
}

Semantic roles & 50–950 ramp

primary
#CA5FD7
secondary
#B7E0B2
accent
#C81E30
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CA5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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