#CA5BF1#CA5BF1

#CA5BF1 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.0% C 0.229 H 316.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CA5BF1
RGBrgb(202, 91, 241)
HSLhsl(284, 84%, 65%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16.2%, 62.2%, 0%, 5.5%)
CIE-LABlab(58.41, 65.99, -56.57)
CIE-LCHlch(58.41, 86.92, 319.39°)
OKLaboklab(66.99% 0.1655 -0.1586)
OKLCHoklch(66.99% 0.229 316.2)
XYZxyz(43.9730, 26.3912, 85.9797)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BF1 #82F15B
analogous
#7F5BF1 #CA5BF1 #F15BCD
triadic
#CA5BF1 #F1CA5B #5BF1CA
tetradic
#CA5BF1 #F17F5B #82F15B #5BCDF1
square
#CA5BF1 #F17F5B #82F15B #5BCDF1
split-complementary
#CA5BF1 #CDF15B #5BF17F
monochromatic
#9310C1 #B823EC #CA5BF1 #DC93F6 #EECCFB

Accessibility & contrast

On white

3.35
#CA5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CA5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BF1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BF1#FFFFFF#000000##000000
##CA5BF11.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F6
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#C8769E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5bf1;
/* rgb */ color: rgb(202, 91, 241);
/* oklch */ color: oklch(67.0% 0.229 316.2);
Tailwind
colors: {
  custom: {
    50: '#de90f6',
    500: '#ca5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bf1;
$custom-light: #de90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bf1",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 284.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66989,
    "c": 0.22917,
    "h": 316.2
  },
  "luminance": 0.2639
}

Semantic roles & 50–950 ramp

primary
#CA5BF1
secondary
#C8EDBA
accent
#E1053E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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