#B930A5#B930A5

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

Color values

HEX#B930A5
RGBrgb(185, 48, 165)
HSLhsl(309, 59%, 46%)
HSVhsv(309, 74%, 73%)
CMYKcmyk(0%, 74.1%, 10.8%, 27.5%)
CIE-LABlab(45.84, 65.59, -33.01)
CIE-LCHlch(45.84, 73.43, 333.28°)
OKLaboklab(56.1% 0.1911 -0.0903)
OKLCHoklch(56.1% 0.211 334.7)
XYZxyz(27.8564, 15.1473, 37.0466)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B930A5 #30B944
analogous
#8830B9 #B930A5 #B93060
triadic
#B930A5 #A5B930 #30A5B9
tetradic
#B930A5 #B98830 #30B944 #3060B9
square
#B930A5 #B98830 #30B944 #3060B9
split-complementary
#B930A5 #60B930 #30B988
monochromatic
#58174E #88237A #B930A5 #D354C0 #DF84D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B930A5#FFFFFF#000000##FFFFFF
##B930A51.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)
#2F60A8
Deuteranopia (green-blind)
#6074A2
Tritanopia (blue-blind)
#C23C68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b930a5;
/* rgb */ color: rgb(185, 48, 165);
/* oklch */ color: oklch(56.1% 0.211 334.7);
Tailwind
colors: {
  custom: {
    50: '#d276c0',
    500: '#b930a5',
    950: '#000000',
  },
}
SCSS
$custom: #b930a5;
$custom-light: #d276c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b930a5",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 308.759,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.21133,
    "h": 334.7
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B930A5

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

Preview Lab → · Contrast checker → · Palette generator →

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