#CA56D4#CA56D4

#CA56D4 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.8% C 0.210 H 324.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CA56D4
RGBrgb(202, 86, 212)
HSLhsl(295, 59%, 58%)
HSVhsv(295, 59%, 83%)
CMYKcmyk(4.7%, 59.4%, 0%, 16.9%)
CIE-LABlab(56.06, 62.76, -44.01)
CIE-LCHlch(56.06, 76.65, 324.96°)
OKLaboklab(64.78% 0.1706 -0.1219)
OKLCHoklch(64.78% 0.21 324.4)
XYZxyz(39.5676, 23.9678, 64.8167)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56D4 #60D456
analogous
#8B56D4 #CA56D4 #D4569F
triadic
#CA56D4 #D4CA56 #56D4CA
tetradic
#CA56D4 #D48B56 #60D456 #569FD4
square
#CA56D4 #D48B56 #60D456 #569FD4
split-complementary
#CA56D4 #9FD456 #56D48B
monochromatic
#84248C #B230BD #CA56D4 #D987E0 #E9B8ED

Accessibility & contrast

On white

3.62
#CA56D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CA56D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56D4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56D4#FFFFFF#000000##000000
##CA56D41.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#417DD8
Deuteranopia (green-blind)
#6B8BD1
Tritanopia (blue-blind)
#CE688D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca56d4;
/* rgb */ color: rgb(202, 86, 212);
/* oklch */ color: oklch(64.8% 0.210 324.4);
Tailwind
colors: {
  custom: {
    50: '#dd8ce2',
    500: '#ca56d4',
    950: '#000000',
  },
}
SCSS
$custom: #ca56d4;
$custom-light: #dd8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56d4",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 295.238,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.2097,
    "h": 324.4
  },
  "luminance": 0.23966
}

Semantic roles & 50–950 ramp

primary
#CA56D4
secondary
#AEDCAA
accent
#E34552
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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