#B120AB#B120AB

#B120AB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.226 H 330.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B120AB
RGBrgb(177, 32, 171)
HSLhsl(302, 69%, 41%)
HSVhsv(302, 82%, 69%)
CMYKcmyk(0%, 81.9%, 3.4%, 30.6%)
CIE-LABlab(43.25, 69.20, -40.76)
CIE-LCHlch(43.25, 80.31, 329.50°)
OKLaboklab(54.09% 0.1961 -0.1128)
OKLCHoklch(54.09% 0.226 330.1)
XYZxyz(25.9986, 13.3225, 39.7224)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B120AB #20B126
analogous
#6E20B1 #B120AB #B12062
triadic
#B120AB #ABB120 #20ABB1
tetradic
#B120AB #B16E20 #20B126 #2062B1
square
#B120AB #B16E20 #20B126 #2062B1
split-complementary
#B120AB #62B120 #20B16E
monochromatic
#490D47 #7D1779 #B120AB #DA34D3 #E468DF

Accessibility & contrast

On white

5.73
#B120AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B120AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B120AB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B120AB#FFFFFF#000000##FFFFFF
##B120AB1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#B83867
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b120ab;
/* rgb */ color: rgb(177, 32, 171);
/* oklch */ color: oklch(54.1% 0.226 330.1);
Tailwind
colors: {
  custom: {
    50: '#cd70c4',
    500: '#b120ab',
    950: '#000000',
  },
}
SCSS
$custom: #b120ab;
$custom-light: #cd70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b120ab",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 302.483,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54094,
    "c": 0.2262,
    "h": 330.1
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#B120AB
secondary
#64C968
accent
#EC433C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B120AB

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

Preview Lab → · Contrast checker → · Palette generator →

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