#B930A6#B930A6

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

Color values

HEX#B930A6
RGBrgb(185, 48, 166)
HSLhsl(308, 59%, 46%)
HSVhsv(308, 74%, 73%)
CMYKcmyk(0%, 74.1%, 10.3%, 27.5%)
CIE-LABlab(45.88, 65.74, -33.53)
CIE-LCHlch(45.88, 73.80, 332.98°)
OKLaboklab(56.16% 0.1911 -0.0918)
OKLCHoklch(56.16% 0.212 334.4)
XYZxyz(27.9478, 15.1838, 37.5278)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B930A6 #30B943
analogous
#8730B9 #B930A6 #B93061
triadic
#B930A6 #A6B930 #30A6B9
tetradic
#B930A6 #B98730 #30B943 #3061B9
square
#B930A6 #B98730 #30B943 #3061B9
split-complementary
#B930A6 #61B930 #30B987
monochromatic
#58174F #88237A #B930A6 #D354C1 #DF84D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B930A6#FFFFFF#000000##FFFFFF
##B930A61.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)
#2E60A9
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#C23C68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b930a6;
/* rgb */ color: rgb(185, 48, 166);
/* oklch */ color: oklch(56.2% 0.212 334.4);
Tailwind
colors: {
  custom: {
    50: '#d276c1',
    500: '#b930a6',
    950: '#000000',
  },
}
SCSS
$custom: #b930a6;
$custom-light: #d276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b930a6",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 308.321,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56155,
    "c": 0.21203,
    "h": 334.4
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#B930A6
secondary
#7CC987
accent
#E25B46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B930A6

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

Preview Lab → · Contrast checker → · Palette generator →

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