#B120AF#B120AF

#B120AF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.229 H 328.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B120AF
RGBrgb(177, 32, 175)
HSLhsl(301, 69%, 41%)
HSVhsv(301, 82%, 69%)
CMYKcmyk(0%, 81.9%, 1.1%, 30.6%)
CIE-LABlab(43.47, 69.82, -42.77)
CIE-LCHlch(43.47, 81.88, 328.51°)
OKLaboklab(54.33% 0.196 -0.1186)
OKLCHoklch(54.33% 0.229 328.8)
XYZxyz(26.3856, 13.4773, 41.7608)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B120AF #20B122
analogous
#6A20B1 #B120AF #B12066
triadic
#B120AF #AFB120 #20AFB1
tetradic
#B120AF #B16A20 #20B122 #2066B1
square
#B120AF #B16A20 #20B122 #2066B1
split-complementary
#B120AF #66B120 #20B16A
monochromatic
#490D49 #7D177C #B120AF #DA34D8 #E468E2

Accessibility & contrast

On white

5.68
#B120AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B120AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B120AF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B120AF#FFFFFF#000000##FFFFFF
##B120AF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#B73A69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b120af;
/* rgb */ color: rgb(177, 32, 175);
/* oklch */ color: oklch(54.3% 0.229 328.8);
Tailwind
colors: {
  custom: {
    50: '#cd70c7',
    500: '#b120af',
    950: '#000000',
  },
}
SCSS
$custom: #b120af;
$custom-light: #cd70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b120af",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 300.828,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.22905,
    "h": 328.8
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#B120AF
secondary
#64C965
accent
#EC3E3C
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B120AF

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

Preview Lab → · Contrast checker → · Palette generator →

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