#CA54C2#CA54C2

#CA54C2 is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.6% C 0.197 H 330.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CA54C2
RGBrgb(202, 84, 194)
HSLhsl(304, 53%, 56%)
HSVhsv(304, 58%, 79%)
CMYKcmyk(0%, 58.4%, 4%, 20.8%)
CIE-LABlab(54.86, 60.52, -35.61)
CIE-LCHlch(54.86, 70.22, 329.52°)
OKLaboklab(63.63% 0.1714 -0.0977)
OKLCHoklch(63.63% 0.197 330.3)
XYZxyz(37.2648, 22.7948, 53.4656)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54C2 #54CA5C
analogous
#9754CA #CA54C2 #CA5487
triadic
#CA54C2 #C2CA54 #54C2CA
tetradic
#CA54C2 #CA9754 #54CA5C #5487CA
square
#CA54C2 #CA9754 #54CA5C #5487CA
split-complementary
#CA54C2 #87CA54 #54CA97
monochromatic
#7D2777 #AC35A4 #CA54C2 #D883D3 #E7B1E3

Accessibility & contrast

On white

3.78
#CA54C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CA54C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54C2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54C2#FFFFFF#000000##000000
##CA54C21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#7389BF
Tritanopia (blue-blind)
#D16083
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca54c2;
/* rgb */ color: rgb(202, 84, 194);
/* oklch */ color: oklch(63.6% 0.197 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd8bd5',
    500: '#ca54c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca54c2;
$custom-light: #dd8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54c2",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 304.068,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.1973,
    "h": 330.3
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#CA54C2
secondary
#A5D5A8
accent
#DC554C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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