#CA54C4#CA54C4

#CA54C4 is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.7% C 0.199 H 329.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CA54C4
RGBrgb(202, 84, 196)
HSLhsl(303, 53%, 56%)
HSVhsv(303, 58%, 79%)
CMYKcmyk(0%, 58.4%, 3%, 20.8%)
CIE-LABlab(54.95, 60.85, -36.61)
CIE-LCHlch(54.95, 71.02, 328.97°)
OKLaboklab(63.73% 0.1716 -0.1006)
OKLCHoklch(63.73% 0.199 329.6)
XYZxyz(37.4909, 22.8852, 54.6565)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54C4 #54CA5A
analogous
#9554CA #CA54C4 #CA5489
triadic
#CA54C4 #C4CA54 #54C4CA
tetradic
#CA54C4 #CA9554 #54CA5A #5489CA
square
#CA54C4 #CA9554 #54CA5A #5489CA
split-complementary
#CA54C4 #89CA54 #54CA95
monochromatic
#7D2779 #AC35A6 #CA54C4 #D883D4 #E7B1E4

Accessibility & contrast

On white

3.77
#CA54C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CA54C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54C4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54C4#FFFFFF#000000##000000
##CA54C41.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C7
Deuteranopia (green-blind)
#7289C1
Tritanopia (blue-blind)
#D16084
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca54c4;
/* rgb */ color: rgb(202, 84, 196);
/* oklch */ color: oklch(63.7% 0.199 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd8bd6',
    500: '#ca54c4',
    950: '#000000',
  },
}
SCSS
$custom: #ca54c4;
$custom-light: #dd8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54c4",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 303.051,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63725,
    "c": 0.19894,
    "h": 329.6
  },
  "luminance": 0.22883
}

Semantic roles & 50–950 ramp

primary
#CA54C4
secondary
#A5D5A7
accent
#DC534C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA54C4

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

Preview Lab → · Contrast checker → · Palette generator →

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