#CA54D8#CA54D8

#CA54D8 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.216 H 323.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CA54D8
RGBrgb(202, 84, 216)
HSLhsl(294, 63%, 59%)
HSVhsv(294, 61%, 85%)
CMYKcmyk(6.5%, 61.1%, 0%, 15.3%)
CIE-LABlab(55.94, 64.34, -46.45)
CIE-LCHlch(55.94, 79.36, 324.17°)
OKLaboklab(64.77% 0.1732 -0.129)
OKLCHoklch(64.77% 0.216 323.3)
XYZxyz(39.9209, 23.8572, 67.4546)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54D8 #62D854
analogous
#8854D8 #CA54D8 #D854A4
triadic
#CA54D8 #D8CA54 #54D8CA
tetradic
#CA54D8 #D88854 #62D854 #54A4D8
square
#CA54D8 #D88854 #62D854 #54A4D8
split-complementary
#CA54D8 #A4D854 #54D888
monochromatic
#852191 #B32CC2 #CA54D8 #D986E3 #E9B8EF

Accessibility & contrast

On white

3.64
#CA54D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CA54D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54D8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54D8#FFFFFF#000000##000000
##CA54D81.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDC
Deuteranopia (green-blind)
#678BD5
Tritanopia (blue-blind)
#CD688F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca54d8;
/* rgb */ color: rgb(202, 84, 216);
/* oklch */ color: oklch(64.8% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#dd8be4',
    500: '#ca54d8',
    950: '#000000',
  },
}
SCSS
$custom: #ca54d8;
$custom-light: #dd8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54d8",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 293.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64768,
    "c": 0.21597,
    "h": 323.3
  },
  "luminance": 0.23855
}

Semantic roles & 50–950 ramp

primary
#CA54D8
secondary
#AFDEAA
accent
#E64253
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #CA54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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