#CA5BF6#CA5BF6

#CA5BF6 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.234 H 315.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CA5BF6
RGBrgb(202, 91, 246)
HSLhsl(283, 90%, 66%)
HSVhsv(283, 63%, 96%)
CMYKcmyk(17.9%, 63%, 0%, 3.5%)
CIE-LABlab(58.69, 66.98, -58.90)
CIE-LCHlch(58.69, 89.19, 318.67°)
OKLaboklab(67.29% 0.1654 -0.1654)
OKLCHoklch(67.29% 0.234 315)
XYZxyz(44.7301, 26.6941, 89.9671)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BF6 #87F65B
analogous
#7C5BF6 #CA5BF6 #F65BD4
triadic
#CA5BF6 #F6CA5B #5BF6CA
tetradic
#CA5BF6 #F67C5B #87F65B #5BD4F6
square
#CA5BF6 #F67C5B #87F65B #5BD4F6
split-complementary
#CA5BF6 #D4F65B #5BF67C
monochromatic
#950BCB #B721F3 #CA5BF6 #DD95F9 #EFCFFC

Accessibility & contrast

On white

3.31
#CA5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CA5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BF6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BF6#FFFFFF#000000##000000
##CA5BF61.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B87FB
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#C778A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5bf6;
/* rgb */ color: rgb(202, 91, 246);
/* oklch */ color: oklch(67.3% 0.234 315.0);
Tailwind
colors: {
  custom: {
    50: '#de90fa',
    500: '#ca5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bf6;
$custom-light: #de90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bf6",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 282.968,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67285,
    "c": 0.23387,
    "h": 315
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#CA5BF6
secondary
#CBF0BD
accent
#E60041
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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