#CA56EA#CA56EA

#CA56EA is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.229 H 318.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CA56EA
RGBrgb(202, 86, 234)
HSLhsl(287, 78%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(13.7%, 63.2%, 0%, 8.2%)
CIE-LABlab(57.23, 66.82, -54.55)
CIE-LCHlch(57.23, 86.26, 320.77°)
OKLaboklab(66.01% 0.1712 -0.1526)
OKLCHoklch(66.01% 0.229 318.3)
XYZxyz(42.5342, 25.1545, 80.4408)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56EA #76EA56
analogous
#8056EA #CA56EA #EA56C0
triadic
#CA56EA #EACA56 #56EACA
tetradic
#CA56EA #EA8056 #76EA56 #56C0EA
square
#CA56EA #EA8056 #76EA56 #56C0EA
split-complementary
#CA56EA #C0EA56 #56EA80
monochromatic
#8E16B0 #B920E3 #CA56EA #DB8CF1 #ECC3F8

Accessibility & contrast

On white

3.48
#CA56EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CA56EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56EA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56EA#FFFFFF#000000##000000
##CA56EA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2682EE
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#C97099
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca56ea;
/* rgb */ color: rgb(202, 86, 234);
/* oklch */ color: oklch(66.0% 0.229 318.3);
Tailwind
colors: {
  custom: {
    50: '#de8df1',
    500: '#ca56ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca56ea;
$custom-light: #de8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56ea",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 287.027,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66009,
    "c": 0.22936,
    "h": 318.3
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#CA56EA
secondary
#BFE9B3
accent
#DA0B38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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