#CA5BF5#CA5BF5

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

Color values

HEX#CA5BF5
RGBrgb(202, 91, 245)
HSLhsl(283, 89%, 66%)
HSVhsv(283, 63%, 96%)
CMYKcmyk(17.6%, 62.9%, 0%, 3.9%)
CIE-LABlab(58.63, 66.78, -58.43)
CIE-LCHlch(58.63, 88.74, 318.81°)
OKLaboklab(67.22% 0.1654 -0.164)
OKLCHoklch(67.22% 0.233 315.2)
XYZxyz(44.5770, 26.6328, 89.1610)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BF5 #86F55B
analogous
#7D5BF5 #CA5BF5 #F55BD3
triadic
#CA5BF5 #F5CA5B #5BF5CA
tetradic
#CA5BF5 #F57D5B #86F55B #5BD3F5
square
#CA5BF5 #F57D5B #86F55B #5BD3F5
split-complementary
#CA5BF5 #D3F55B #5BF57D
monochromatic
#950CC9 #B721F1 #CA5BF5 #DD95F9 #EFCEFC

Accessibility & contrast

On white

3.32
#CA5BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CA5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BF5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BF5#FFFFFF#000000##000000
##CA5BF51.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E87FA
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#C777A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5bf5;
/* rgb */ color: rgb(202, 91, 245);
/* oklch */ color: oklch(67.2% 0.233 315.2);
Tailwind
colors: {
  custom: {
    50: '#de90f9',
    500: '#ca5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bf5;
$custom-light: #de90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bf5",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 283.247,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67225,
    "c": 0.23293,
    "h": 315.2
  },
  "luminance": 0.26631
}

Semantic roles & 50–950 ramp

primary
#CA5BF5
secondary
#CBEFBC
accent
#E50040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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