#CA50BA#CA50BA

#CA50BA is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.8% C 0.197 H 333.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CA50BA
RGBrgb(202, 80, 186)
HSLhsl(308, 54%, 55%)
HSVhsv(308, 60%, 79%)
CMYKcmyk(0%, 60.4%, 7.9%, 20.8%)
CIE-LABlab(53.86, 60.95, -32.57)
CIE-LCHlch(53.86, 69.10, 331.88°)
OKLaboklab(62.77% 0.1754 -0.0889)
OKLCHoklch(62.77% 0.197 333.1)
XYZxyz(36.0888, 21.8417, 48.7600)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50BA #50CA60
analogous
#9D50CA #CA50BA #CA507D
triadic
#CA50BA #BACA50 #50BACA
tetradic
#CA50BA #CA9D50 #50CA60 #507DCA
square
#CA50BA #CA9D50 #50CA60 #507DCA
split-complementary
#CA50BA #7DCA50 #50CA9D
monochromatic
#7A256F #A9339A #CA50BA #D87FCD #E6AEDF

Accessibility & contrast

On white

3.91
#CA50BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CA50BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50BA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50BA#FFFFFF#000000##000000
##CA50BA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca50ba;
/* rgb */ color: rgb(202, 80, 186);
/* oklch */ color: oklch(62.8% 0.197 333.1);
Tailwind
colors: {
  custom: {
    50: '#dd88cf',
    500: '#ca50ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca50ba;
$custom-light: #dd88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50ba",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 307.869,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.19666,
    "h": 333.1
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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