#CA54BC#CA54BC

#CA54BC is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.3% C 0.192 H 332.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CA54BC
RGBrgb(202, 84, 188)
HSLhsl(307, 53%, 56%)
HSVhsv(307, 58%, 79%)
CMYKcmyk(0%, 58.4%, 6.9%, 20.8%)
CIE-LABlab(54.59, 59.53, -32.59)
CIE-LCHlch(54.59, 67.87, 331.30°)
OKLaboklab(63.33% 0.1706 -0.089)
OKLCHoklch(63.33% 0.192 332.4)
XYZxyz(36.6045, 22.5307, 49.9881)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54BC #54CA62
analogous
#9D54CA #CA54BC #CA5481
triadic
#CA54BC #BCCA54 #54BCCA
tetradic
#CA54BC #CA9D54 #54CA62 #5481CA
square
#CA54BC #CA9D54 #54CA62 #5481CA
split-complementary
#CA54BC #81CA54 #54CA9D
monochromatic
#7D2773 #AC359E #CA54BC #D883CE #E7B1E1

Accessibility & contrast

On white

3.81
#CA54BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CA54BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54BC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54BC#FFFFFF#000000##000000
##CA54BC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#7589B9
Tritanopia (blue-blind)
#D25D80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca54bc;
/* rgb */ color: rgb(202, 84, 188);
/* oklch */ color: oklch(63.3% 0.192 332.4);
Tailwind
colors: {
  custom: {
    50: '#dd8bd0',
    500: '#ca54bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca54bc;
$custom-light: #dd8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54bc",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 307.119,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.19246,
    "h": 332.4
  },
  "luminance": 0.22528
}

Semantic roles & 50–950 ramp

primary
#CA54BC
secondary
#A5D5AA
accent
#DC5D4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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