#B92FA7#B92FA7

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

Color values

HEX#B92FA7
RGBrgb(185, 47, 167)
HSLhsl(308, 59%, 45%)
HSVhsv(308, 75%, 73%)
CMYKcmyk(0%, 74.6%, 9.7%, 27.5%)
CIE-LABlab(45.83, 66.20, -34.22)
CIE-LCHlch(45.83, 74.52, 332.67°)
OKLaboklab(56.13% 0.1921 -0.0937)
OKLCHoklch(56.13% 0.214 334)
XYZxyz(27.9994, 15.1398, 37.9993)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B92FA7 #2FB941
analogous
#862FB9 #B92FA7 #B92F62
triadic
#B92FA7 #A7B92F #2FA7B9
tetradic
#B92FA7 #B9862F #2FB941 #2F62B9
square
#B92FA7 #B9862F #2FB941 #2F62B9
split-complementary
#B92FA7 #62B92F #2FB986
monochromatic
#57164F #88237B #B92FA7 #D352C2 #DF83D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B92FA7#FFFFFF#000000##FFFFFF
##B92FA71.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)
#2B60AA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#C23C68
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b92fa7;
/* rgb */ color: rgb(185, 47, 167);
/* oklch */ color: oklch(56.1% 0.214 334.0);
Tailwind
colors: {
  custom: {
    50: '#d276c1',
    500: '#b92fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b92fa7;
$custom-light: #d276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b92fa7",
  "rgb": {
    "r": 185,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 307.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.21378,
    "h": 334
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#B92FA7
secondary
#7BC985
accent
#E35A45
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B92FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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