#CA56D7#CA56D7

#CA56D7 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 64.9% C 0.212 H 323.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CA56D7
RGBrgb(202, 86, 215)
HSLhsl(294, 62%, 59%)
HSVhsv(294, 60%, 84%)
CMYKcmyk(6%, 60%, 0%, 15.7%)
CIE-LABlab(56.21, 63.29, -45.47)
CIE-LCHlch(56.21, 77.93, 324.31°)
OKLaboklab(64.94% 0.1708 -0.1262)
OKLCHoklch(64.94% 0.212 323.5)
XYZxyz(39.9495, 24.1206, 66.8283)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56D7 #63D756
analogous
#8A56D7 #CA56D7 #D756A4
triadic
#CA56D7 #D7CA56 #56D7CA
tetradic
#CA56D7 #D78A56 #63D756 #56A4D7
square
#CA56D7 #D78A56 #63D756 #56A4D7
split-complementary
#CA56D7 #A4D756 #56D78A
monochromatic
#852290 #B32EC2 #CA56D7 #DA87E3 #E9B9EE

Accessibility & contrast

On white

3.61
#CA56D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CA56D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56D7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56D7#FFFFFF#000000##000000
##CA56D71.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDB
Deuteranopia (green-blind)
#698CD4
Tritanopia (blue-blind)
#CD698F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca56d7;
/* rgb */ color: rgb(202, 86, 215);
/* oklch */ color: oklch(64.9% 0.212 323.5);
Tailwind
colors: {
  custom: {
    50: '#dd8ce4',
    500: '#ca56d7',
    950: '#000000',
  },
}
SCSS
$custom: #ca56d7;
$custom-light: #dd8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56d7",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 293.953,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64943,
    "c": 0.21233,
    "h": 323.5
  },
  "luminance": 0.24118
}

Semantic roles & 50–950 ramp

primary
#CA56D7
secondary
#B0DEAB
accent
#E54353
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150D15
muted
#837D84

Preview Lab

Preview with #CA56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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