#CA5FE6#CA5FE6

#CA5FE6 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.8% C 0.213 H 318.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CA5FE6
RGBrgb(202, 95, 230)
HSLhsl(288, 73%, 64%)
HSVhsv(288, 59%, 90%)
CMYKcmyk(12.2%, 58.7%, 0%, 9.8%)
CIE-LABlab(58.47, 62.05, -50.33)
CIE-LCHlch(58.47, 79.90, 320.95°)
OKLaboklab(66.84% 0.1606 -0.1404)
OKLCHoklch(66.84% 0.213 318.8)
XYZxyz(42.7304, 26.4559, 77.7032)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FE6 #7BE65F
analogous
#865FE6 #CA5FE6 #E65FBE
triadic
#CA5FE6 #E6CA5F #5FE6CA
tetradic
#CA5FE6 #E6865F #7BE65F #5FBEE6
square
#CA5FE6 #E6865F #7BE65F #5FBEE6
split-complementary
#CA5FE6 #BEE65F #5FE686
monochromatic
#911BAF #B82ADE #CA5FE6 #DC94EE #EDC9F7

Accessibility & contrast

On white

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

On black

6.29
#CA5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FE6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FE6#FFFFFF#000000##000000
##CA5FE61.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85EA
Deuteranopia (green-blind)
#6790E3
Tritanopia (blue-blind)
#CA759A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5fe6;
/* rgb */ color: rgb(202, 95, 230);
/* oklch */ color: oklch(66.8% 0.213 318.8);
Tailwind
colors: {
  custom: {
    50: '#dd92ee',
    500: '#ca5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fe6;
$custom-light: #dd92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fe6",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 287.556,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66839,
    "c": 0.21327,
    "h": 318.8
  },
  "luminance": 0.26454
}

Semantic roles & 50–950 ramp

primary
#CA5FE6
secondary
#C2E8B9
accent
#D51039
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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