#CA56DD#CA56DD

#CA56DD is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.3% C 0.218 H 321.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CA56DD
RGBrgb(202, 86, 221)
HSLhsl(292, 67%, 60%)
HSVhsv(292, 61%, 87%)
CMYKcmyk(8.6%, 61.1%, 0%, 13.3%)
CIE-LABlab(56.52, 64.39, -48.37)
CIE-LCHlch(56.52, 80.53, 323.09°)
OKLaboklab(65.27% 0.171 -0.1346)
OKLCHoklch(65.27% 0.218 321.8)
XYZxyz(40.7346, 24.4346, 70.9633)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56DD #69DD56
analogous
#8756DD #CA56DD #DD56AC
triadic
#CA56DD #DDCA56 #56DDCA
tetradic
#CA56DD #DD8756 #69DD56 #56ACDD
square
#CA56DD #DD8756 #69DD56 #56ACDD
split-complementary
#CA56DD #ACDD56 #56DD87
monochromatic
#881F9A #B629CD #CA56DD #DA89E7 #EABCF2

Accessibility & contrast

On white

3.57
#CA56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CA56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56DD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56DD#FFFFFF#000000##000000
##CA56DD1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE1
Deuteranopia (green-blind)
#668CDA
Tritanopia (blue-blind)
#CC6B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca56dd;
/* rgb */ color: rgb(202, 86, 221);
/* oklch */ color: oklch(65.3% 0.218 321.8);
Tailwind
colors: {
  custom: {
    50: '#dd8ce8',
    500: '#ca56dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca56dd;
$custom-light: #dd8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56dd",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 291.556,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.21764,
    "h": 321.8
  },
  "luminance": 0.24433
}

Semantic roles & 50–950 ramp

primary
#CA56DD
secondary
#B5E1AE
accent
#CE1731
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CA56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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