#CA51BA#CA51BA

#CA51BA is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.9% C 0.195 H 333.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CA51BA
RGBrgb(202, 81, 186)
HSLhsl(308, 53%, 55%)
HSVhsv(308, 60%, 79%)
CMYKcmyk(0%, 59.9%, 7.9%, 20.8%)
CIE-LABlab(54.02, 60.52, -32.32)
CIE-LCHlch(54.02, 68.61, 331.89°)
OKLaboklab(62.89% 0.1742 -0.0882)
OKLCHoklch(62.89% 0.195 333.1)
XYZxyz(36.1625, 21.9893, 48.7846)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51BA #51CA61
analogous
#9D51CA #CA51BA #CA517D
triadic
#CA51BA #BACA51 #51BACA
tetradic
#CA51BA #CA9D51 #51CA61 #517DCA
square
#CA51BA #CA9D51 #51CA61 #517DCA
split-complementary
#CA51BA #7DCA51 #51CA9D
monochromatic
#7B2570 #AA349A #CA51BA #D880CD #E7AFDF

Accessibility & contrast

On white

3.89
#CA51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CA51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51BA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51BA#FFFFFF#000000##000000
##CA51BA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#7487B7
Tritanopia (blue-blind)
#D25A7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca51ba;
/* rgb */ color: rgb(202, 81, 186);
/* oklch */ color: oklch(62.9% 0.195 333.1);
Tailwind
colors: {
  custom: {
    50: '#dd89cf',
    500: '#ca51ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca51ba;
$custom-light: #dd89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51ba",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 307.934,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62888,
    "c": 0.19523,
    "h": 333.1
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#CA51BA
secondary
#A2D5A9
accent
#DD5E4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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