#CA56E8#CA56E8

#CA56E8 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.228 H 318.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CA56E8
RGBrgb(202, 86, 232)
HSLhsl(288, 76%, 62%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.9%, 62.9%, 0%, 9%)
CIE-LABlab(57.11, 66.44, -53.61)
CIE-LCHlch(57.11, 85.37, 321.10°)
OKLaboklab(65.89% 0.1712 -0.1499)
OKLCHoklch(65.89% 0.228 318.8)
XYZxyz(42.2485, 25.0402, 78.9361)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E8 #74E856
analogous
#8156E8 #CA56E8 #E856BD
triadic
#CA56E8 #E8CA56 #56E8CA
tetradic
#CA56E8 #E88156 #74E856 #56BDE8
square
#CA56E8 #E88156 #74E856 #56BDE8
split-complementary
#CA56E8 #BDE856 #56E881
monochromatic
#8E17AC #B920E1 #CA56E8 #DB8CEF #ECC2F7

Accessibility & contrast

On white

3.50
#CA56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CA56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E8#FFFFFF#000000##000000
##CA56E81.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EC
Deuteranopia (green-blind)
#5E8DE4
Tritanopia (blue-blind)
#CA6F98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca56e8;
/* rgb */ color: rgb(202, 86, 232);
/* oklch */ color: oklch(65.9% 0.228 318.8);
Tailwind
colors: {
  custom: {
    50: '#de8df0',
    500: '#ca56e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e8;
$custom-light: #de8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e8",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 287.671,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65893,
    "c": 0.22755,
    "h": 318.8
  },
  "luminance": 0.25038
}

Semantic roles & 50–950 ramp

primary
#CA56E8
secondary
#BDE8B2
accent
#D80D37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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