#CA54BB#CA54BB

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

Color values

HEX#CA54BB
RGBrgb(202, 84, 187)
HSLhsl(308, 53%, 56%)
HSVhsv(308, 58%, 79%)
CMYKcmyk(0%, 58.4%, 7.4%, 20.8%)
CIE-LABlab(54.54, 59.37, -32.08)
CIE-LCHlch(54.54, 67.48, 331.61°)
OKLaboklab(63.29% 0.1705 -0.0876)
OKLCHoklch(63.29% 0.192 332.8)
XYZxyz(36.4971, 22.4877, 49.4223)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54BB #54CA63
analogous
#9E54CA #CA54BB #CA5480
triadic
#CA54BB #BBCA54 #54BBCA
tetradic
#CA54BB #CA9E54 #54CA63 #5480CA
square
#CA54BB #CA9E54 #54CA63 #5480CA
split-complementary
#CA54BB #80CA54 #54CA9E
monochromatic
#7D2772 #AC359D #CA54BB #D883CE #E7B1E0

Accessibility & contrast

On white

3.82
#CA54BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CA54BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54BB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54BB#FFFFFF#000000##000000
##CA54BB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#7689B8
Tritanopia (blue-blind)
#D25D80
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca54bb;
/* rgb */ color: rgb(202, 84, 187);
/* oklch */ color: oklch(63.3% 0.192 332.8);
Tailwind
colors: {
  custom: {
    50: '#dd8acf',
    500: '#ca54bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca54bb;
$custom-light: #dd8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54bb",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 307.627,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63287,
    "c": 0.19167,
    "h": 332.8
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#CA54BB
secondary
#A5D5AB
accent
#DC5E4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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