#B92AB2#B92AB2

#B92AB2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.227 H 330.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B92AB2
RGBrgb(185, 42, 178)
HSLhsl(303, 63%, 45%)
HSVhsv(303, 77%, 73%)
CMYKcmyk(0%, 77.3%, 3.8%, 27.5%)
CIE-LABlab(45.89, 69.34, -40.62)
CIE-LCHlch(45.89, 80.37, 329.64°)
OKLaboklab(56.36% 0.1968 -0.1122)
OKLCHoklch(56.36% 0.227 330.3)
XYZxyz(28.8713, 15.1869, 43.5216)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B92AB2 #2AB931
analogous
#792AB9 #B92AB2 #B92A6B
triadic
#B92AB2 #B2B92A #2AB2B9
tetradic
#B92AB2 #B9792A #2AB931 #2A6BB9
square
#B92AB2 #B9792A #2AB931 #2A6BB9
split-complementary
#B92AB2 #6BB92A #2AB979
monochromatic
#551352 #871F82 #B92AB2 #D64ACF #E17CDC

Accessibility & contrast

On white

5.20
#B92AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B92AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B92AB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B92AB2#FFFFFF#000000##FFFFFF
##B92AB21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B6
Deuteranopia (green-blind)
#5873AF
Tritanopia (blue-blind)
#C03F6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b92ab2;
/* rgb */ color: rgb(185, 42, 178);
/* oklch */ color: oklch(56.4% 0.227 330.3);
Tailwind
colors: {
  custom: {
    50: '#d274c9',
    500: '#b92ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b92ab2;
$custom-light: #d274c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b92ab2",
  "rgb": {
    "r": 185,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 302.937,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.2265,
    "h": 330.3
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#B92AB2
secondary
#75CA79
accent
#E64A42
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B92AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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