#CA5FEA#CA5FEA

#CA5FEA is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.1% C 0.217 H 317.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CA5FEA
RGBrgb(202, 95, 234)
HSLhsl(286, 77%, 65%)
HSVhsv(286, 59%, 92%)
CMYKcmyk(13.7%, 59.4%, 0%, 8.2%)
CIE-LABlab(58.68, 62.83, -52.23)
CIE-LCHlch(58.68, 81.70, 320.26°)
OKLaboklab(67.06% 0.1607 -0.1459)
OKLCHoklch(67.06% 0.217 317.8)
XYZxyz(43.2985, 26.6832, 80.6955)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FEA #7FEA5F
analogous
#855FEA #CA5FEA #EA5FC5
triadic
#CA5FEA #EACA5F #5FEACA
tetradic
#CA5FEA #EA855F #7FEA5F #5FC5EA
square
#CA5FEA #EA855F #7FEA5F #5FC5EA
split-complementary
#CA5FEA #C5EA5F #5FEA85
monochromatic
#9218B7 #B829E3 #CA5FEA #DC95F1 #EECBF8

Accessibility & contrast

On white

3.31
#CA5FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CA5FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FEA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FEA#FFFFFF#000000##000000
##CA5FEA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#6491E6
Tritanopia (blue-blind)
#C9769C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5fea;
/* rgb */ color: rgb(202, 95, 234);
/* oklch */ color: oklch(67.1% 0.217 317.8);
Tailwind
colors: {
  custom: {
    50: '#dd92f1',
    500: '#ca5fea',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fea;
$custom-light: #dd92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fea",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 286.187,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67063,
    "c": 0.21706,
    "h": 317.8
  },
  "luminance": 0.26681
}

Semantic roles & 50–950 ramp

primary
#CA5FEA
secondary
#C5EABA
accent
#D90C3C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #CA5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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