#B050B2#B050B2

#B050B2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.174 H 326.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B050B2
RGBrgb(176, 80, 178)
HSLhsl(299, 39%, 51%)
HSVhsv(299, 55%, 70%)
CMYKcmyk(1.1%, 55.1%, 0%, 30.2%)
CIE-LABlab(49.72, 52.60, -34.67)
CIE-LCHlch(49.72, 63.00, 326.61°)
OKLaboklab(58.86% 0.1455 -0.0955)
OKLCHoklch(58.86% 0.174 326.7)
XYZxyz(28.8085, 18.1834, 44.1032)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B050B2 #52B250
analogous
#7F50B2 #B050B2 #B25083
triadic
#B050B2 #B2B050 #50B2B0
tetradic
#B050B2 #B27F50 #52B250 #5083B2
square
#B050B2 #B27F50 #52B250 #5083B2
split-complementary
#B050B2 #83B250 #50B27F
monochromatic
#5D295E #873C89 #B050B2 #C37AC5 #D6A5D7

Accessibility & contrast

On white

4.53
#B050B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B050B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B050B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B050B2#FFFFFF#000000##000000
##B050B21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#B55C79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b050b2;
/* rgb */ color: rgb(176, 80, 178);
/* oklch */ color: oklch(58.9% 0.174 326.7);
Tailwind
colors: {
  custom: {
    50: '#ca86c9',
    500: '#b050b2',
    950: '#000000',
  },
}
SCSS
$custom: #b050b2;
$custom-light: #ca86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b050b2",
  "rgb": {
    "r": 176,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 298.776,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.17409,
    "h": 326.7
  },
  "luminance": 0.18182
}

Semantic roles & 50–950 ramp

primary
#B050B2
secondary
#9AC599
accent
#CF595B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B050B2

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

Preview Lab → · Contrast checker → · Palette generator →

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