#B050A2#B050A2

#B050A2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.1% C 0.160 H 333.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B050A2
RGBrgb(176, 80, 162)
HSLhsl(309, 38%, 50%)
HSVhsv(309, 55%, 69%)
CMYKcmyk(0%, 54.5%, 8%, 31%)
CIE-LABlab(48.98, 49.79, -26.43)
CIE-LCHlch(48.98, 56.37, 332.04°)
OKLaboklab(58.07% 0.1431 -0.0719)
OKLCHoklch(58.07% 0.16 333.3)
XYZxyz(27.2947, 17.5779, 36.1307)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B050A2 #50B05E
analogous
#8E50B0 #B050A2 #B05072
triadic
#B050A2 #A2B050 #50A2B0
tetradic
#B050A2 #B08E50 #50B05E #5072B0
square
#B050A2 #B08E50 #50B05E #5072B0
split-complementary
#B050A2 #72B050 #50B08E
monochromatic
#5C2A55 #863D7B #B050A2 #C37AB8 #D6A4CF

Accessibility & contrast

On white

4.65
#B050A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B050A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B050A2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B050A2#FFFFFF#000000##FFFFFF
##B050A21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#6B799F
Tritanopia (blue-blind)
#B75672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b050a2;
/* rgb */ color: rgb(176, 80, 162);
/* oklch */ color: oklch(58.1% 0.160 333.3);
Tailwind
colors: {
  custom: {
    50: '#ca86bd',
    500: '#b050a2',
    950: '#000000',
  },
}
SCSS
$custom: #b050a2;
$custom-light: #ca86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b050a2",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 308.75,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58074,
    "c": 0.16018,
    "h": 333.3
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#B050A2
secondary
#98C39F
accent
#CE6B5A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #B050A2

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

Preview Lab → · Contrast checker → · Palette generator →

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