#CA56DE#CA56DE

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

Color values

HEX#CA56DE
RGBrgb(202, 86, 222)
HSLhsl(291, 67%, 60%)
HSVhsv(291, 61%, 87%)
CMYKcmyk(9%, 61.3%, 0%, 12.9%)
CIE-LABlab(56.57, 64.57, -48.85)
CIE-LCHlch(56.57, 80.97, 322.89°)
OKLaboklab(65.33% 0.1711 -0.136)
OKLCHoklch(65.33% 0.219 321.5)
XYZxyz(40.8683, 24.4881, 71.6671)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56DE #6ADE56
analogous
#8656DE #CA56DE #DE56AE
triadic
#CA56DE #DECA56 #56DECA
tetradic
#CA56DE #DE8656 #6ADE56 #56AEDE
square
#CA56DE #DE8656 #6ADE56 #56AEDE
split-complementary
#CA56DE #AEDE56 #56DE86
monochromatic
#891E9B #B628CE #CA56DE #DA89E8 #EABCF2

Accessibility & contrast

On white

3.56
#CA56DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CA56DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56DE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56DE#FFFFFF#000000##000000
##CA56DE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE2
Deuteranopia (green-blind)
#658CDB
Tritanopia (blue-blind)
#CC6B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca56de;
/* rgb */ color: rgb(202, 86, 222);
/* oklch */ color: oklch(65.3% 0.219 321.5);
Tailwind
colors: {
  custom: {
    50: '#dd8ce9',
    500: '#ca56de',
    950: '#000000',
  },
}
SCSS
$custom: #ca56de;
$custom-light: #dd8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56de",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 291.176,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65326,
    "c": 0.21853,
    "h": 321.5
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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