#CA56E4#CA56E4

#CA56E4 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.224 H 319.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CA56E4
RGBrgb(202, 86, 228)
HSLhsl(289, 72%, 62%)
HSVhsv(289, 62%, 89%)
CMYKcmyk(11.4%, 62.3%, 0%, 10.6%)
CIE-LABlab(56.90, 65.69, -51.71)
CIE-LCHlch(56.90, 83.60, 321.79°)
OKLaboklab(65.66% 0.1712 -0.1443)
OKLCHoklch(65.66% 0.224 319.9)
XYZxyz(41.6868, 24.8155, 75.9778)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E4 #70E456
analogous
#8356E4 #CA56E4 #E456B7
triadic
#CA56E4 #E4CA56 #56E4CA
tetradic
#CA56E4 #E48356 #70E456 #56B7E4
square
#CA56E4 #E48356 #70E456 #56B7E4
split-complementary
#CA56E4 #B7E456 #56E483
monochromatic
#8C1AA5 #B823DA #CA56E4 #DB8BEC #EBC0F5

Accessibility & contrast

On white

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

On black

5.96
#CA56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E4#FFFFFF#000000##000000
##CA56E41.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81E8
Deuteranopia (green-blind)
#618DE0
Tritanopia (blue-blind)
#CB6E96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca56e4;
/* rgb */ color: rgb(202, 86, 228);
/* oklch */ color: oklch(65.7% 0.224 319.9);
Tailwind
colors: {
  custom: {
    50: '#dd8ded',
    500: '#ca56e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e4;
$custom-light: #dd8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e4",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 289.014,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65663,
    "c": 0.22393,
    "h": 319.9
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#CA56E4
secondary
#BAE5B0
accent
#D51135
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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