#B050A7#B050A7

#B050A7 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.3% C 0.164 H 331.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B050A7
RGBrgb(176, 80, 167)
HSLhsl(306, 38%, 50%)
HSVhsv(306, 55%, 69%)
CMYKcmyk(0%, 54.5%, 5.1%, 31%)
CIE-LABlab(49.20, 50.64, -29.03)
CIE-LCHlch(49.20, 58.37, 330.18°)
OKLaboklab(58.31% 0.144 -0.0793)
OKLCHoklch(58.31% 0.164 331.1)
XYZxyz(27.7480, 17.7593, 38.5181)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B050A7 #50B059
analogous
#8950B0 #B050A7 #B05077
triadic
#B050A7 #A7B050 #50A7B0
tetradic
#B050A7 #B08950 #50B059 #5077B0
square
#B050A7 #B08950 #50B059 #5077B0
split-complementary
#B050A7 #77B050 #50B089
monochromatic
#5C2A57 #863D7F #B050A7 #C37ABC #D6A4D1

Accessibility & contrast

On white

4.61
#B050A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B050A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B050A7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B050A7#FFFFFF#000000##FFFFFF
##B050A71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CAA
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#B65874
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b050a7;
/* rgb */ color: rgb(176, 80, 167);
/* oklch */ color: oklch(58.3% 0.164 331.1);
Tailwind
colors: {
  custom: {
    50: '#ca86c1',
    500: '#b050a7',
    950: '#000000',
  },
}
SCSS
$custom: #b050a7;
$custom-light: #ca86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b050a7",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 167
  },
  "hsl": {
    "h": 305.625,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.1644,
    "h": 331.1
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#B050A7
secondary
#98C39C
accent
#CE655A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B050A7

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

Preview Lab → · Contrast checker → · Palette generator →

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