#CA5FE1#CA5FE1

#CA5FE1 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.6% C 0.209 H 320.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CA5FE1
RGBrgb(202, 95, 225)
HSLhsl(289, 68%, 63%)
HSVhsv(289, 58%, 88%)
CMYKcmyk(10.2%, 57.8%, 0%, 11.8%)
CIE-LABlab(58.21, 61.10, -47.94)
CIE-LCHlch(58.21, 77.66, 321.88°)
OKLaboklab(66.57% 0.1603 -0.1334)
OKLCHoklch(66.57% 0.209 320.2)
XYZxyz(42.0383, 26.1791, 74.0583)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FE1 #76E15F
analogous
#895FE1 #CA5FE1 #E15FB7
triadic
#CA5FE1 #E1CA5F #5FE1CA
tetradic
#CA5FE1 #E1895F #76E15F #5FB7E1
square
#CA5FE1 #E1895F #76E15F #5FB7E1
split-complementary
#CA5FE1 #B7E15F #5FE189
monochromatic
#8E1FA6 #B92BD7 #CA5FE1 #DB93EB #ECC6F4

Accessibility & contrast

On white

3.37
#CA5FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CA5FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FE1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FE1#FFFFFF#000000##000000
##CA5FE11.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E5
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#CB7397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5fe1;
/* rgb */ color: rgb(202, 95, 225);
/* oklch */ color: oklch(66.6% 0.209 320.2);
Tailwind
colors: {
  custom: {
    50: '#dd92eb',
    500: '#ca5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fe1;
$custom-light: #dd92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fe1",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 289.385,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66565,
    "c": 0.20857,
    "h": 320.2
  },
  "luminance": 0.26177
}

Semantic roles & 50–950 ramp

primary
#CA5FE1
secondary
#BFE5B6
accent
#D01536
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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