#CA5FE5#CA5FE5

#CA5FE5 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.212 H 319.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CA5FE5
RGBrgb(202, 95, 229)
HSLhsl(288, 72%, 64%)
HSVhsv(288, 59%, 90%)
CMYKcmyk(11.8%, 58.5%, 0%, 10.2%)
CIE-LABlab(58.41, 61.86, -49.86)
CIE-LCHlch(58.41, 79.45, 321.13°)
OKLaboklab(66.78% 0.1605 -0.139)
OKLCHoklch(66.78% 0.212 319.1)
XYZxyz(42.5903, 26.3999, 76.9658)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FE5 #7AE55F
analogous
#875FE5 #CA5FE5 #E55FBD
triadic
#CA5FE5 #E5CA5F #5FE5CA
tetradic
#CA5FE5 #E5875F #7AE55F #5FBDE5
square
#CA5FE5 #E5875F #7AE55F #5FBDE5
split-complementary
#CA5FE5 #BDE55F #5FE587
monochromatic
#901CAD #B92ADC #CA5FE5 #DB94EE #EDC8F6

Accessibility & contrast

On white

3.34
#CA5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CA5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FE5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FE5#FFFFFF#000000##000000
##CA5FE51.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E9
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#CA7499
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5fe5;
/* rgb */ color: rgb(202, 95, 229);
/* oklch */ color: oklch(66.8% 0.212 319.1);
Tailwind
colors: {
  custom: {
    50: '#dd92ee',
    500: '#ca5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fe5;
$custom-light: #dd92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fe5",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 287.91,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66784,
    "c": 0.21233,
    "h": 319.1
  },
  "luminance": 0.26398
}

Semantic roles & 50–950 ramp

primary
#CA5FE5
secondary
#C2E8B8
accent
#D41139
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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