#CA5FE3#CA5FE3

#CA5FE3 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.210 H 319.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CA5FE3
RGBrgb(202, 95, 227)
HSLhsl(289, 70%, 63%)
HSVhsv(289, 58%, 89%)
CMYKcmyk(11%, 58.1%, 0%, 11%)
CIE-LABlab(58.31, 61.48, -48.90)
CIE-LCHlch(58.31, 78.56, 321.50°)
OKLaboklab(66.67% 0.1604 -0.1362)
OKLCHoklch(66.67% 0.21 319.7)
XYZxyz(42.3127, 26.2889, 75.5036)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FE3 #78E35F
analogous
#885FE3 #CA5FE3 #E35FBA
triadic
#CA5FE3 #E3CA5F #5FE3CA
tetradic
#CA5FE3 #E3885F #78E35F #5FBAE3
square
#CA5FE3 #E3885F #78E35F #5FBAE3
split-complementary
#CA5FE3 #BAE35F #5FE388
monochromatic
#8F1EAA #B92BDA #CA5FE3 #DB93EC #EDC7F5

Accessibility & contrast

On white

3.36
#CA5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#CA5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FE3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FE3#FFFFFF#000000##000000
##CA5FE31.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E7
Deuteranopia (green-blind)
#6990E0
Tritanopia (blue-blind)
#CB7498
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5fe3;
/* rgb */ color: rgb(202, 95, 227);
/* oklch */ color: oklch(66.7% 0.210 319.7);
Tailwind
colors: {
  custom: {
    50: '#dd92ec',
    500: '#ca5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fe3;
$custom-light: #dd92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fe3",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 288.636,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.21045,
    "h": 319.7
  },
  "luminance": 0.26287
}

Semantic roles & 50–950 ramp

primary
#CA5FE3
secondary
#C0E7B7
accent
#D21337
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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