#CA56DF#CA56DF

#CA56DF is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.219 H 321.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CA56DF
RGBrgb(202, 86, 223)
HSLhsl(291, 68%, 61%)
HSVhsv(291, 61%, 87%)
CMYKcmyk(9.4%, 61.4%, 0%, 12.5%)
CIE-LABlab(56.63, 64.75, -49.33)
CIE-LCHlch(56.63, 81.40, 322.70°)
OKLaboklab(65.38% 0.1711 -0.1374)
OKLCHoklch(65.38% 0.219 321.2)
XYZxyz(41.0027, 24.5419, 72.3750)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56DF #6BDF56
analogous
#8556DF #CA56DF #DF56AF
triadic
#CA56DF #DFCA56 #56DFCA
tetradic
#CA56DF #DF8556 #6BDF56 #56AFDF
square
#CA56DF #DF8556 #6BDF56 #56AFDF
split-complementary
#CA56DF #AFDF56 #56DF85
monochromatic
#891E9D #B627D0 #CA56DF #DA89E9 #EABDF2

Accessibility & contrast

On white

3.55
#CA56DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CA56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56DF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56DF#FFFFFF#000000##000000
##CA56DF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#658CDB
Tritanopia (blue-blind)
#CC6C93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca56df;
/* rgb */ color: rgb(202, 86, 223);
/* oklch */ color: oklch(65.4% 0.219 321.2);
Tailwind
colors: {
  custom: {
    50: '#dd8de9',
    500: '#ca56df',
    950: '#000000',
  },
}
SCSS
$custom: #ca56df;
$custom-light: #dd8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56df",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 290.803,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65382,
    "c": 0.21943,
    "h": 321.2
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#CA56DF
secondary
#B6E2AE
accent
#D01532
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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