#CA5FF1#CA5FF1

#CA5FF1 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.5% C 0.224 H 316.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CA5FF1
RGBrgb(202, 95, 241)
HSLhsl(284, 84%, 66%)
HSVhsv(284, 61%, 95%)
CMYKcmyk(16.2%, 60.6%, 0%, 5.5%)
CIE-LABlab(59.06, 64.20, -55.53)
CIE-LCHlch(59.06, 84.88, 319.14°)
OKLaboklab(67.46% 0.1608 -0.1555)
OKLCHoklch(67.46% 0.224 316)
XYZxyz(44.3241, 27.0934, 86.0968)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FF1 #86F15F
analogous
#815FF1 #CA5FF1 #F15FCF
triadic
#CA5FF1 #F1CA5F #5FF1CA
tetradic
#CA5FF1 #F1815F #86F15F #5FCFF1
square
#CA5FF1 #F1815F #86F15F #5FCFF1
split-complementary
#CA5FF1 #CFF15F #5FF181
monochromatic
#9511C4 #B727EC #CA5FF1 #DD97F6 #EFD0FB

Accessibility & contrast

On white

3.27
#CA5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CA5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FF1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FF1#FFFFFF#000000##000000
##CA5FF11.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#C879A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5ff1;
/* rgb */ color: rgb(202, 95, 241);
/* oklch */ color: oklch(67.5% 0.224 316.0);
Tailwind
colors: {
  custom: {
    50: '#dd92f6',
    500: '#ca5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ff1;
$custom-light: #dd92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ff1",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 283.973,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67463,
    "c": 0.22372,
    "h": 316
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#CA5FF1
secondary
#CBEEBE
accent
#E00540
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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