#B92AB1#B92AB1

#B92AB1 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.226 H 330.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B92AB1
RGBrgb(185, 42, 177)
HSLhsl(303, 63%, 45%)
HSVhsv(303, 77%, 73%)
CMYKcmyk(0%, 77.3%, 4.3%, 27.5%)
CIE-LABlab(45.83, 69.19, -40.12)
CIE-LCHlch(45.83, 79.98, 329.89°)
OKLaboklab(56.3% 0.1968 -0.1107)
OKLCHoklch(56.3% 0.226 330.6)
XYZxyz(28.7713, 15.1469, 42.9948)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B92AB1 #2AB932
analogous
#7A2AB9 #B92AB1 #B92A69
triadic
#B92AB1 #B1B92A #2AB1B9
tetradic
#B92AB1 #B97A2A #2AB932 #2A69B9
square
#B92AB1 #B97A2A #2AB932 #2A69B9
split-complementary
#B92AB1 #69B92A #2AB97A
monochromatic
#551352 #871F81 #B92AB1 #D64ACE #E17CDC

Accessibility & contrast

On white

5.21
#B92AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B92AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B92AB1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B92AB1#FFFFFF#000000##FFFFFF
##B92AB11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#C03E6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b92ab1;
/* rgb */ color: rgb(185, 42, 177);
/* oklch */ color: oklch(56.3% 0.226 330.6);
Tailwind
colors: {
  custom: {
    50: '#d274c9',
    500: '#b92ab1',
    950: '#000000',
  },
}
SCSS
$custom: #b92ab1;
$custom-light: #d274c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b92ab1",
  "rgb": {
    "r": 185,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 303.357,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.22578,
    "h": 330.6
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#B92AB1
secondary
#75CA7A
accent
#E64B42
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B92AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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