#B92EA7#B92EA7

#B92EA7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 334.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B92EA7
RGBrgb(185, 46, 167)
HSLhsl(308, 60%, 45%)
HSVhsv(308, 75%, 73%)
CMYKcmyk(0%, 75.1%, 9.7%, 27.5%)
CIE-LABlab(45.72, 66.51, -34.39)
CIE-LCHlch(45.72, 74.87, 332.66°)
OKLaboklab(56.05% 0.193 -0.0942)
OKLCHoklch(56.05% 0.215 334)
XYZxyz(27.9599, 15.0607, 37.9862)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B92EA7 #2EB940
analogous
#862EB9 #B92EA7 #B92E61
triadic
#B92EA7 #A7B92E #2EA7B9
tetradic
#B92EA7 #B9862E #2EB940 #2E61B9
square
#B92EA7 #B9862E #2EB940 #2E61B9
split-complementary
#B92EA7 #61B92E #2EB986
monochromatic
#57164F #88227B #B92EA7 #D451C3 #E082D4

Accessibility & contrast

On white

5.23
#B92EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B92EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B92EA7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B92EA7#FFFFFF#000000##FFFFFF
##B92EA71.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#C23B68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b92ea7;
/* rgb */ color: rgb(185, 46, 167);
/* oklch */ color: oklch(56.1% 0.215 334.0);
Tailwind
colors: {
  custom: {
    50: '#d276c1',
    500: '#b92ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b92ea7;
$custom-light: #d276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b92ea7",
  "rgb": {
    "r": 185,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 307.77,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56051,
    "c": 0.21481,
    "h": 334
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#B92EA7
secondary
#7AC984
accent
#E35944
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B92EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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