#CA56E5#CA56E5

#CA56E5 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.225 H 319.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CA56E5
RGBrgb(202, 86, 229)
HSLhsl(289, 73%, 62%)
HSVhsv(289, 62%, 90%)
CMYKcmyk(11.8%, 62.4%, 0%, 10.2%)
CIE-LABlab(56.95, 65.87, -52.19)
CIE-LCHlch(56.95, 84.04, 321.61°)
OKLaboklab(65.72% 0.1712 -0.1457)
OKLCHoklch(65.72% 0.225 319.6)
XYZxyz(41.8260, 24.8712, 76.7110)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E5 #71E556
analogous
#8356E5 #CA56E5 #E556B9
triadic
#CA56E5 #E5CA56 #56E5CA
tetradic
#CA56E5 #E58356 #71E556 #56B9E5
square
#CA56E5 #E58356 #71E556 #56B9E5
split-complementary
#CA56E5 #B9E556 #56E583
monochromatic
#8C1AA7 #B922DC #CA56E5 #DB8BED #EBC0F5

Accessibility & contrast

On white

3.52
#CA56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CA56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E5#FFFFFF#000000##000000
##CA56E51.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#618DE1
Tritanopia (blue-blind)
#CB6E96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca56e5;
/* rgb */ color: rgb(202, 86, 229);
/* oklch */ color: oklch(65.7% 0.225 319.6);
Tailwind
colors: {
  custom: {
    50: '#dd8dee',
    500: '#ca56e5',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e5;
$custom-light: #dd8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e5",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 288.671,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6572,
    "c": 0.22483,
    "h": 319.6
  },
  "luminance": 0.24869
}

Semantic roles & 50–950 ramp

primary
#CA56E5
secondary
#BBE6B1
accent
#D51035
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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