#CA56E9#CA56E9

#CA56E9 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.228 H 318.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CA56E9
RGBrgb(202, 86, 233)
HSLhsl(287, 77%, 63%)
HSVhsv(287, 63%, 91%)
CMYKcmyk(13.3%, 63.1%, 0%, 8.6%)
CIE-LABlab(57.17, 66.63, -54.08)
CIE-LCHlch(57.17, 85.81, 320.94°)
OKLaboklab(65.95% 0.1712 -0.1512)
OKLCHoklch(65.95% 0.228 318.5)
XYZxyz(42.3909, 25.0971, 79.6863)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56E9 #75E956
analogous
#8156E9 #CA56E9 #E956BE
triadic
#CA56E9 #E9CA56 #56E9CA
tetradic
#CA56E9 #E98156 #75E956 #56BEE9
square
#CA56E9 #E98156 #75E956 #56BEE9
split-complementary
#CA56E9 #BEE956 #56E981
monochromatic
#8E17AE #B920E2 #CA56E9 #DB8CF0 #ECC2F7

Accessibility & contrast

On white

3.49
#CA56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CA56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56E9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56E9#FFFFFF#000000##000000
##CA56E91.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2882ED
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#CA7098
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca56e9;
/* rgb */ color: rgb(202, 86, 233);
/* oklch */ color: oklch(66.0% 0.228 318.5);
Tailwind
colors: {
  custom: {
    50: '#de8df1',
    500: '#ca56e9',
    950: '#000000',
  },
}
SCSS
$custom: #ca56e9;
$custom-light: #de8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56e9",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 287.347,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.22844,
    "h": 318.5
  },
  "luminance": 0.25095
}

Semantic roles & 50–950 ramp

primary
#CA56E9
secondary
#BEE8B3
accent
#D90C38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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