#CA56EE#CA56EE

#CA56EE is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.233 H 317.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CA56EE
RGBrgb(202, 86, 238)
HSLhsl(286, 82%, 64%)
HSVhsv(286, 64%, 93%)
CMYKcmyk(15.1%, 63.9%, 0%, 6.7%)
CIE-LABlab(57.45, 67.58, -56.43)
CIE-LCHlch(57.45, 88.04, 320.14°)
OKLaboklab(66.24% 0.1711 -0.1581)
OKLCHoklch(66.24% 0.233 317.3)
XYZxyz(43.1153, 25.3869, 83.5014)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56EE #7AEE56
analogous
#7E56EE #CA56EE #EE56C6
triadic
#CA56EE #EECA56 #56EECA
tetradic
#CA56EE #EE7E56 #7AEE56 #56C6EE
square
#CA56EE #EE7E56 #7AEE56 #56C6EE
split-complementary
#CA56EE #C6EE56 #56EE7E
monochromatic
#9012B7 #B91EE8 #CA56EE #DB8EF4 #EDC5F9

Accessibility & contrast

On white

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

On black

6.08
#CA56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56EE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56EE#FFFFFF#000000##000000
##CA56EE1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E83F3
Deuteranopia (green-blind)
#5A8EEA
Tritanopia (blue-blind)
#C9719B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca56ee;
/* rgb */ color: rgb(202, 86, 238);
/* oklch */ color: oklch(66.2% 0.233 317.3);
Tailwind
colors: {
  custom: {
    50: '#de8df4',
    500: '#ca56ee',
    950: '#000000',
  },
}
SCSS
$custom: #ca56ee;
$custom-light: #de8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56ee",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 285.789,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.233,
    "h": 317.3
  },
  "luminance": 0.25385
}

Semantic roles & 50–950 ramp

primary
#CA56EE
secondary
#C2EBB5
accent
#DE073A
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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