#CA54BA#CA54BA

#CA54BA is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.2% C 0.191 H 333.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CA54BA
RGBrgb(202, 84, 186)
HSLhsl(308, 53%, 56%)
HSVhsv(308, 58%, 79%)
CMYKcmyk(0%, 58.4%, 7.9%, 20.8%)
CIE-LABlab(54.50, 59.20, -31.57)
CIE-LCHlch(54.50, 67.10, 331.93°)
OKLaboklab(63.24% 0.1703 -0.0861)
OKLCHoklch(63.24% 0.191 333.2)
XYZxyz(36.3904, 22.4450, 48.8605)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54BA #54CA64
analogous
#9F54CA #CA54BA #CA547F
triadic
#CA54BA #BACA54 #54BACA
tetradic
#CA54BA #CA9F54 #54CA64 #547FCA
square
#CA54BA #CA9F54 #54CA64 #547FCA
split-complementary
#CA54BA #7FCA54 #54CA9F
monochromatic
#7D2771 #AC359C #CA54BA #D883CD #E7B1E0

Accessibility & contrast

On white

3.83
#CA54BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CA54BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54BA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54BA#FFFFFF#000000##000000
##CA54BA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#7689B7
Tritanopia (blue-blind)
#D25D7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca54ba;
/* rgb */ color: rgb(202, 84, 186);
/* oklch */ color: oklch(63.2% 0.191 333.2);
Tailwind
colors: {
  custom: {
    50: '#dd8acf',
    500: '#ca54ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca54ba;
$custom-light: #dd8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54ba",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 308.136,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.19088,
    "h": 333.2
  },
  "luminance": 0.22442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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