#CA50B9#CA50B9

#CA50B9 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.7% C 0.196 H 333.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CA50B9
RGBrgb(202, 80, 185)
HSLhsl(308, 54%, 55%)
HSVhsv(308, 60%, 79%)
CMYKcmyk(0%, 60.4%, 8.4%, 20.8%)
CIE-LABlab(53.81, 60.79, -32.06)
CIE-LCHlch(53.81, 68.72, 332.19°)
OKLaboklab(62.73% 0.1753 -0.0875)
OKLCHoklch(62.73% 0.196 333.5)
XYZxyz(35.9828, 21.7994, 48.2021)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50B9 #50CA61
analogous
#9E50CA #CA50B9 #CA507C
triadic
#CA50B9 #B9CA50 #50B9CA
tetradic
#CA50B9 #CA9E50 #50CA61 #507CCA
square
#CA50B9 #CA9E50 #50CA61 #507CCA
split-complementary
#CA50B9 #7CCA50 #50CA9E
monochromatic
#7A256F #A93399 #CA50B9 #D87FCC #E6AEDF

Accessibility & contrast

On white

3.92
#CA50B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CA50B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50B9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50B9#FFFFFF#000000##000000
##CA50B91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BC
Deuteranopia (green-blind)
#7487B6
Tritanopia (blue-blind)
#D3597D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca50b9;
/* rgb */ color: rgb(202, 80, 185);
/* oklch */ color: oklch(62.7% 0.196 333.5);
Tailwind
colors: {
  custom: {
    50: '#dd88ce',
    500: '#ca50b9',
    950: '#000000',
  },
}
SCSS
$custom: #ca50b9;
$custom-light: #dd88ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50b9",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 185
  },
  "hsl": {
    "h": 308.361,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62726,
    "c": 0.19589,
    "h": 333.5
  },
  "luminance": 0.21797
}

Semantic roles & 50–950 ramp

primary
#CA50B9
secondary
#A1D4A9
accent
#DD5F4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA50B9

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

Preview Lab → · Contrast checker → · Palette generator →

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