#CA56ED#CA56ED

#CA56ED is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.232 H 317.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CA56ED
RGBrgb(202, 86, 237)
HSLhsl(286, 81%, 63%)
HSVhsv(286, 64%, 93%)
CMYKcmyk(14.8%, 63.7%, 0%, 7.1%)
CIE-LABlab(57.39, 67.39, -55.96)
CIE-LCHlch(57.39, 87.60, 320.29°)
OKLaboklab(66.18% 0.1712 -0.1567)
OKLCHoklch(66.18% 0.232 317.5)
XYZxyz(42.9688, 25.3283, 82.7298)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56ED #79ED56
analogous
#7E56ED #CA56ED #ED56C4
triadic
#CA56ED #EDCA56 #56EDCA
tetradic
#CA56ED #ED7E56 #79ED56 #56C4ED
square
#CA56ED #ED7E56 #79ED56 #56C4ED
split-complementary
#CA56ED #C4ED56 #56ED7E
monochromatic
#9013B5 #B91FE7 #CA56ED #DB8DF3 #EDC5F9

Accessibility & contrast

On white

3.46
#CA56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CA56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56ED
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56ED#FFFFFF#000000##000000
##CA56ED1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F2
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#C9719A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca56ed;
/* rgb */ color: rgb(202, 86, 237);
/* oklch */ color: oklch(66.2% 0.232 317.5);
Tailwind
colors: {
  custom: {
    50: '#de8df3',
    500: '#ca56ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca56ed;
$custom-light: #de8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56ed",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 286.093,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.23209,
    "h": 317.5
  },
  "luminance": 0.25327
}

Semantic roles & 50–950 ramp

primary
#CA56ED
secondary
#C1EAB4
accent
#DD083A
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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