#CA56DB#CA56DB

#CA56DB is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.216 H 322.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CA56DB
RGBrgb(202, 86, 219)
HSLhsl(292, 65%, 60%)
HSVhsv(292, 61%, 86%)
CMYKcmyk(7.8%, 60.7%, 0%, 14.1%)
CIE-LABlab(56.42, 64.02, -47.40)
CIE-LCHlch(56.42, 79.66, 323.48°)
OKLaboklab(65.16% 0.171 -0.1318)
OKLCHoklch(65.16% 0.216 322.4)
XYZxyz(40.4698, 24.3287, 69.5683)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56DB #67DB56
analogous
#8856DB #CA56DB #DB56A9
triadic
#CA56DB #DBCA56 #56DBCA
tetradic
#CA56DB #DB8856 #67DB56 #56A9DB
square
#CA56DB #DB8856 #67DB56 #56A9DB
split-complementary
#CA56DB #A9DB56 #56DB88
monochromatic
#872097 #B52BC9 #CA56DB #DA88E6 #EABBF0

Accessibility & contrast

On white

3.58
#CA56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CA56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56DB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56DB#FFFFFF#000000##000000
##CA56DB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#CD6A91
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca56db;
/* rgb */ color: rgb(202, 86, 219);
/* oklch */ color: oklch(65.2% 0.216 322.4);
Tailwind
colors: {
  custom: {
    50: '#dd8ce7',
    500: '#ca56db',
    950: '#000000',
  },
}
SCSS
$custom: #ca56db;
$custom-light: #dd8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56db",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 292.331,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6516,
    "c": 0.21586,
    "h": 322.4
  },
  "luminance": 0.24327
}

Semantic roles & 50–950 ramp

primary
#CA56DB
secondary
#B3E0AD
accent
#E84055
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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