#CA56D8#CA56D8

#CA56D8 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.0% C 0.213 H 323.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CA56D8
RGBrgb(202, 86, 216)
HSLhsl(294, 63%, 59%)
HSVhsv(294, 60%, 85%)
CMYKcmyk(6.5%, 60.2%, 0%, 15.3%)
CIE-LABlab(56.26, 63.47, -45.95)
CIE-LCHlch(56.26, 78.36, 324.10°)
OKLaboklab(65% 0.1708 -0.1276)
OKLCHoklch(65% 0.213 323.2)
XYZxyz(40.0784, 24.1721, 67.5071)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56D8 #64D856
analogous
#8956D8 #CA56D8 #D856A5
triadic
#CA56D8 #D8CA56 #56D8CA
tetradic
#CA56D8 #D88956 #64D856 #56A5D8
square
#CA56D8 #D88956 #64D856 #56A5D8
split-complementary
#CA56D8 #A5D856 #56D889
monochromatic
#862292 #B32DC4 #CA56D8 #DA88E3 #E9B9EF

Accessibility & contrast

On white

3.60
#CA56D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CA56D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56D8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56D8#FFFFFF#000000##000000
##CA56D81.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDC
Deuteranopia (green-blind)
#698CD5
Tritanopia (blue-blind)
#CD698F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca56d8;
/* rgb */ color: rgb(202, 86, 216);
/* oklch */ color: oklch(65.0% 0.213 323.2);
Tailwind
colors: {
  custom: {
    50: '#dd8ce4',
    500: '#ca56d8',
    950: '#000000',
  },
}
SCSS
$custom: #ca56d8;
$custom-light: #dd8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56d8",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 293.538,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64997,
    "c": 0.21321,
    "h": 323.2
  },
  "luminance": 0.2417
}

Semantic roles & 50–950 ramp

primary
#CA56D8
secondary
#B1DEAB
accent
#E64254
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #CA56D8

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

Preview Lab → · Contrast checker → · Palette generator →

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