#CA5BF0#CA5BF0

#CA5BF0 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.9% C 0.228 H 316.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CA5BF0
RGBrgb(202, 91, 240)
HSLhsl(285, 83%, 65%)
HSVhsv(285, 62%, 94%)
CMYKcmyk(15.8%, 62.1%, 0%, 5.9%)
CIE-LABlab(58.35, 65.80, -56.11)
CIE-LCHlch(58.35, 86.47, 319.55°)
OKLaboklab(66.93% 0.1655 -0.1572)
OKLCHoklch(66.93% 0.228 316.5)
XYZxyz(43.8240, 26.3316, 85.1952)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BF0 #81F05B
analogous
#805BF0 #CA5BF0 #F05BCB
triadic
#CA5BF0 #F0CA5B #5BF0CA
tetradic
#CA5BF0 #F0805B #81F05B #5BCBF0
square
#CA5BF0 #F0805B #81F05B #5BCBF0
split-complementary
#CA5BF0 #CBF05B #5BF080
monochromatic
#9311BF #B823EB #CA5BF0 #DC93F5 #EECBFA

Accessibility & contrast

On white

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

On black

6.27
#CA5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BF0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BF0#FFFFFF#000000##000000
##CA5BF01.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F5
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#C8769E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5bf0;
/* rgb */ color: rgb(202, 91, 240);
/* oklch */ color: oklch(66.9% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#de90f6',
    500: '#ca5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bf0;
$custom-light: #de90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bf0",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 284.698,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6693,
    "c": 0.22823,
    "h": 316.5
  },
  "luminance": 0.2633
}

Semantic roles & 50–950 ramp

primary
#CA5BF0
secondary
#C7EDBA
accent
#E0063D
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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