#CA5BE6#CA5BE6

#CA5BE6 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.219 H 319.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CA5BE6
RGBrgb(202, 91, 230)
HSLhsl(288, 74%, 63%)
HSVhsv(288, 60%, 90%)
CMYKcmyk(12.2%, 60.4%, 0%, 9.8%)
CIE-LABlab(57.80, 63.87, -51.39)
CIE-LCHlch(57.80, 81.98, 321.18°)
OKLaboklab(66.36% 0.1654 -0.1434)
OKLCHoklch(66.36% 0.219 319.1)
XYZxyz(42.3793, 25.7537, 77.5862)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BE6 #77E65B
analogous
#855BE6 #CA5BE6 #E65BBC
triadic
#CA5BE6 #E6CA5B #5BE6CA
tetradic
#CA5BE6 #E6855B #77E65B #5BBCE6
square
#CA5BE6 #E6855B #77E65B #5BBCE6
split-complementary
#CA5BE6 #BCE65B #5BE685
monochromatic
#8F1AAC #B926DE #CA5BE6 #DB90EE #ECC5F6

Accessibility & contrast

On white

3.41
#CA5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CA5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BE6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BE6#FFFFFF#000000##000000
##CA5BE61.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783EA
Deuteranopia (green-blind)
#648FE2
Tritanopia (blue-blind)
#CA7298
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5be6;
/* rgb */ color: rgb(202, 91, 230);
/* oklch */ color: oklch(66.4% 0.219 319.1);
Tailwind
colors: {
  custom: {
    50: '#dd8fee',
    500: '#ca5be6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5be6;
$custom-light: #dd8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5be6",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 287.914,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66356,
    "c": 0.21891,
    "h": 319.1
  },
  "luminance": 0.25752
}

Semantic roles & 50–950 ramp

primary
#CA5BE6
secondary
#BFE7B5
accent
#D61038
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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