#CA54B8#CA54B8

#CA54B8 is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.1% C 0.189 H 333.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CA54B8
RGBrgb(202, 84, 184)
HSLhsl(309, 53%, 56%)
HSVhsv(309, 58%, 79%)
CMYKcmyk(0%, 58.4%, 8.9%, 20.8%)
CIE-LABlab(54.41, 58.88, -30.56)
CIE-LCHlch(54.41, 66.34, 332.57°)
OKLaboklab(63.15% 0.17 -0.0832)
OKLCHoklch(63.15% 0.189 333.9)
XYZxyz(36.1793, 22.3606, 47.7486)
Luminance0.2236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54B8 #54CA66
analogous
#A154CA #CA54B8 #CA547D
triadic
#CA54B8 #B8CA54 #54B8CA
tetradic
#CA54B8 #CAA154 #54CA66 #547DCA
square
#CA54B8 #CAA154 #54CA66 #547DCA
split-complementary
#CA54B8 #7DCA54 #54CAA1
monochromatic
#7D2770 #AC359A #CA54B8 #D883CB #E7B1DF

Accessibility & contrast

On white

3.84
#CA54B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CA54B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54B8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54B8#FFFFFF#000000##000000
##CA54B81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5277BB
Deuteranopia (green-blind)
#7788B5
Tritanopia (blue-blind)
#D35C7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca54b8;
/* rgb */ color: rgb(202, 84, 184);
/* oklch */ color: oklch(63.1% 0.189 333.9);
Tailwind
colors: {
  custom: {
    50: '#dd8acd',
    500: '#ca54b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca54b8;
$custom-light: #dd8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54b8",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 184
  },
  "hsl": {
    "h": 309.153,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63146,
    "c": 0.18932,
    "h": 333.9
  },
  "luminance": 0.22358
}

Semantic roles & 50–950 ramp

primary
#CA54B8
secondary
#A5D5AC
accent
#DC624C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA54B8

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

Preview Lab → · Contrast checker → · Palette generator →

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