#CA54BD#CA54BD

#CA54BD is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.193 H 332.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CA54BD
RGBrgb(202, 84, 189)
HSLhsl(307, 53%, 56%)
HSVhsv(307, 58%, 79%)
CMYKcmyk(0%, 58.4%, 6.4%, 20.8%)
CIE-LABlab(54.63, 59.69, -33.09)
CIE-LCHlch(54.63, 68.25, 331.00°)
OKLaboklab(63.38% 0.1708 -0.0905)
OKLCHoklch(63.38% 0.193 332.1)
XYZxyz(36.7127, 22.5739, 50.5578)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54BD #54CA61
analogous
#9C54CA #CA54BD #CA5482
triadic
#CA54BD #BDCA54 #54BDCA
tetradic
#CA54BD #CA9C54 #54CA61 #5482CA
square
#CA54BD #CA9C54 #54CA61 #5482CA
split-complementary
#CA54BD #82CA54 #54CA9C
monochromatic
#7D2773 #AC359F #CA54BD #D883CF #E7B1E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA54BD#FFFFFF#000000##000000
##CA54BD1.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)
#4F78C0
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#D25E81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca54bd;
/* rgb */ color: rgb(202, 84, 189);
/* oklch */ color: oklch(63.4% 0.193 332.1);
Tailwind
colors: {
  custom: {
    50: '#dd8bd1',
    500: '#ca54bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca54bd;
$custom-light: #dd8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54bd",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 306.61,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63383,
    "c": 0.19326,
    "h": 332.1
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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