#CA56CD#CA56CD

#CA56CD is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.4% C 0.204 H 326.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CA56CD
RGBrgb(202, 86, 205)
HSLhsl(298, 54%, 57%)
HSVhsv(298, 58%, 80%)
CMYKcmyk(1.5%, 58%, 0%, 19.6%)
CIE-LABlab(55.71, 61.52, -40.58)
CIE-LCHlch(55.71, 73.69, 326.59°)
OKLaboklab(64.42% 0.1701 -0.112)
OKLCHoklch(64.42% 0.204 326.6)
XYZxyz(38.7036, 23.6222, 60.2667)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56CD #59CD56
analogous
#8E56CD #CA56CD #CD5695
triadic
#CA56CD #CDCA56 #56CDCA
tetradic
#CA56CD #CD8E56 #59CD56 #5695CD
square
#CA56CD #CD8E56 #59CD56 #5695CD
split-complementary
#CA56CD #95CD56 #56CD8E
monochromatic
#802682 #AE34B1 #CA56CD #D985DB #E8B4E9

Accessibility & contrast

On white

3.67
#CA56CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CA56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56CD#FFFFFF#000000##000000
##CA56CD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#CF658A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca56cd;
/* rgb */ color: rgb(202, 86, 205);
/* oklch */ color: oklch(64.4% 0.204 326.6);
Tailwind
colors: {
  custom: {
    50: '#dd8cdc',
    500: '#ca56cd',
    950: '#000000',
  },
}
SCSS
$custom: #ca56cd;
$custom-light: #dd8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56cd",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 298.487,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.20363,
    "h": 326.6
  },
  "luminance": 0.2362
}

Semantic roles & 50–950 ramp

primary
#CA56CD
secondary
#A8D8A7
accent
#DE4A4E
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CA56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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