#CA5BF4#CA5BF4

#CA5BF4 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.232 H 315.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CA5BF4
RGBrgb(202, 91, 244)
HSLhsl(284, 87%, 66%)
HSVhsv(284, 63%, 96%)
CMYKcmyk(17.2%, 62.7%, 0%, 4.3%)
CIE-LABlab(58.58, 66.58, -57.97)
CIE-LCHlch(58.58, 88.28, 318.96°)
OKLaboklab(67.17% 0.1654 -0.1627)
OKLCHoklch(67.17% 0.232 315.5)
XYZxyz(44.4248, 26.5719, 88.3592)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BF4 #85F45B
analogous
#7D5BF4 #CA5BF4 #F45BD2
triadic
#CA5BF4 #F4CA5B #5BF4CA
tetradic
#CA5BF4 #F47D5B #85F45B #5BD2F4
square
#CA5BF4 #F47D5B #85F45B #5BD2F4
split-complementary
#CA5BF4 #D2F45B #5BF47D
monochromatic
#940DC7 #B722F0 #CA5BF4 #DD94F8 #EFCEFC

Accessibility & contrast

On white

3.33
#CA5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CA5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BF4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BF4#FFFFFF#000000##000000
##CA5BF41.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2086F9
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#C777A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5bf4;
/* rgb */ color: rgb(202, 91, 244);
/* oklch */ color: oklch(67.2% 0.232 315.5);
Tailwind
colors: {
  custom: {
    50: '#de90f8',
    500: '#ca5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bf4;
$custom-light: #de90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bf4",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 283.529,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67166,
    "c": 0.23199,
    "h": 315.5
  },
  "luminance": 0.2657
}

Semantic roles & 50–950 ramp

primary
#CA5BF4
secondary
#CAEFBC
accent
#E40240
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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