#CA5AF0#CA5AF0

#CA5AF0 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.230 H 316.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CA5AF0
RGBrgb(202, 90, 240)
HSLhsl(285, 83%, 65%)
HSVhsv(285, 63%, 94%)
CMYKcmyk(15.8%, 62.5%, 0%, 5.9%)
CIE-LABlab(58.19, 66.24, -56.36)
CIE-LCHlch(58.19, 86.97, 319.61°)
OKLaboklab(66.81% 0.1666 -0.1579)
OKLCHoklch(66.81% 0.23 316.5)
XYZxyz(43.7391, 26.1618, 85.1669)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5AF0 #80F05A
analogous
#7F5AF0 #CA5AF0 #F05ACB
triadic
#CA5AF0 #F0CA5A #5AF0CA
tetradic
#CA5AF0 #F07F5A #80F05A #5ACBF0
square
#CA5AF0 #F07F5A #80F05A #5ACBF0
split-complementary
#CA5AF0 #CBF05A #5AF07F
monochromatic
#9211BE #B822EB #CA5AF0 #DC92F5 #EECAFA

Accessibility & contrast

On white

3.37
#CA5AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CA5AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5AF0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5AF0#FFFFFF#000000##000000
##CA5AF01.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F5
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#C8759D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5af0;
/* rgb */ color: rgb(202, 90, 240);
/* oklch */ color: oklch(66.8% 0.230 316.5);
Tailwind
colors: {
  custom: {
    50: '#de8ff6',
    500: '#ca5af0',
    950: '#000000',
  },
}
SCSS
$custom: #ca5af0;
$custom-light: #de8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5af0",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 284.8,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.22958,
    "h": 316.5
  },
  "luminance": 0.2616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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