#CA56D3#CA56D3

#CA56D3 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.209 H 324.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CA56D3
RGBrgb(202, 86, 211)
HSLhsl(296, 59%, 58%)
HSVhsv(296, 59%, 83%)
CMYKcmyk(4.3%, 59.2%, 0%, 17.3%)
CIE-LABlab(56.01, 62.58, -43.52)
CIE-LCHlch(56.01, 76.22, 325.18°)
OKLaboklab(64.73% 0.1705 -0.1205)
OKLCHoklch(64.73% 0.209 324.7)
XYZxyz(39.4418, 23.9175, 64.1544)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56D3 #5FD356
analogous
#8B56D3 #CA56D3 #D3569D
triadic
#CA56D3 #D3CA56 #56D3CA
tetradic
#CA56D3 #D38B56 #5FD356 #569DD3
square
#CA56D3 #D38B56 #5FD356 #569DD3
split-complementary
#CA56D3 #9DD356 #56D38B
monochromatic
#83248B #B131BB #CA56D3 #D987E0 #E8B7EC

Accessibility & contrast

On white

3.63
#CA56D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CA56D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56D3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56D3#FFFFFF#000000##000000
##CA56D31.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD7
Deuteranopia (green-blind)
#6C8BD0
Tritanopia (blue-blind)
#CE678D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca56d3;
/* rgb */ color: rgb(202, 86, 211);
/* oklch */ color: oklch(64.7% 0.209 324.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ce1',
    500: '#ca56d3',
    950: '#000000',
  },
}
SCSS
$custom: #ca56d3;
$custom-light: #dd8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56d3",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 295.68,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64729,
    "c": 0.20882,
    "h": 324.7
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#CA56D3
secondary
#ADDBAA
accent
#E24651
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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