#CA54DB#CA54DB

#CA54DB is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.219 H 322.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CA54DB
RGBrgb(202, 84, 219)
HSLhsl(292, 65%, 59%)
HSVhsv(292, 62%, 86%)
CMYKcmyk(7.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(56.10, 64.88, -47.90)
CIE-LCHlch(56.10, 80.65, 323.56°)
OKLaboklab(64.93% 0.1733 -0.1332)
OKLCHoklch(64.93% 0.219 322.4)
XYZxyz(40.3123, 24.0138, 69.5158)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54DB #65DB54
analogous
#8654DB #CA54DB #DB54A9
triadic
#CA54DB #DBCA54 #54DBCA
tetradic
#CA54DB #DB8654 #65DB54 #54A9DB
square
#CA54DB #DB8654 #65DB54 #54A9DB
split-complementary
#CA54DB #A9DB54 #54DB86
monochromatic
#861F95 #B42AC8 #CA54DB #DA87E6 #E9B9F0

Accessibility & contrast

On white

3.62
#CA54DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CA54DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54DB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54DB#FFFFFF#000000##000000
##CA54DB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#668BD8
Tritanopia (blue-blind)
#CD6990
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca54db;
/* rgb */ color: rgb(202, 84, 219);
/* oklch */ color: oklch(64.9% 0.219 322.4);
Tailwind
colors: {
  custom: {
    50: '#dd8be7',
    500: '#ca54db',
    950: '#000000',
  },
}
SCSS
$custom: #ca54db;
$custom-light: #dd8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54db",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 292.444,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64933,
    "c": 0.2186,
    "h": 322.4
  },
  "luminance": 0.24012
}

Semantic roles & 50–950 ramp

primary
#CA54DB
secondary
#B2E0AB
accent
#E84055
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150D16
muted
#847D84

Preview Lab

Preview with #CA54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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