#CA56D5#CA56D5

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

Color values

HEX#CA56D5
RGBrgb(202, 86, 213)
HSLhsl(295, 60%, 59%)
HSVhsv(295, 60%, 84%)
CMYKcmyk(5.2%, 59.6%, 0%, 16.5%)
CIE-LABlab(56.11, 62.93, -44.50)
CIE-LCHlch(56.11, 77.08, 324.74°)
OKLaboklab(64.83% 0.1707 -0.1234)
OKLCHoklch(64.83% 0.211 324.1)
XYZxyz(39.6941, 24.0184, 65.4831)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56D5 #61D556
analogous
#8A56D5 #CA56D5 #D556A0
triadic
#CA56D5 #D5CA56 #56D5CA
tetradic
#CA56D5 #D58A56 #61D556 #56A0D5
square
#CA56D5 #D58A56 #61D556 #56A0D5
split-complementary
#CA56D5 #A0D556 #56D58A
monochromatic
#84238D #B22FBE #CA56D5 #D987E1 #E9B8ED

Accessibility & contrast

On white

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

On black

5.80
#CA56D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56D5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56D5#FFFFFF#000000##000000
##CA56D51.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407DD9
Deuteranopia (green-blind)
#6A8BD2
Tritanopia (blue-blind)
#CE688E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca56d5;
/* rgb */ color: rgb(202, 86, 213);
/* oklch */ color: oklch(64.8% 0.211 324.1);
Tailwind
colors: {
  custom: {
    50: '#dd8ce2',
    500: '#ca56d5',
    950: '#000000',
  },
}
SCSS
$custom: #ca56d5;
$custom-light: #dd8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56d5",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 294.803,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64835,
    "c": 0.21057,
    "h": 324.1
  },
  "luminance": 0.24016
}

Semantic roles & 50–950 ramp

primary
#CA56D5
secondary
#AFDDAA
accent
#E34452
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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