#B930A7#B930A7

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

Color values

HEX#B930A7
RGBrgb(185, 48, 167)
HSLhsl(308, 59%, 46%)
HSVhsv(308, 74%, 73%)
CMYKcmyk(0%, 74.1%, 9.7%, 27.5%)
CIE-LABlab(45.93, 65.89, -34.04)
CIE-LCHlch(45.93, 74.16, 332.68°)
OKLaboklab(56.21% 0.1912 -0.0932)
OKLCHoklch(56.21% 0.213 334)
XYZxyz(28.0398, 15.2206, 38.0128)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B930A7 #30B942
analogous
#8630B9 #B930A7 #B93062
triadic
#B930A7 #A7B930 #30A7B9
tetradic
#B930A7 #B98630 #30B942 #3062B9
square
#B930A7 #B98630 #30B942 #3062B9
split-complementary
#B930A7 #62B930 #30B986
monochromatic
#58174F #88237B #B930A7 #D354C2 #DF84D3

Accessibility & contrast

On white

5.19
#B930A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B930A7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B930A7#FFFFFF#000000##FFFFFF
##B930A71.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#C23D69
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b930a7;
/* rgb */ color: rgb(185, 48, 167);
/* oklch */ color: oklch(56.2% 0.213 334.0);
Tailwind
colors: {
  custom: {
    50: '#d276c1',
    500: '#b930a7',
    950: '#000000',
  },
}
SCSS
$custom: #b930a7;
$custom-light: #d276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b930a7",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 307.883,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.21274,
    "h": 334
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#B930A7
secondary
#7CC986
accent
#E25A46
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B930A7

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

Preview Lab → · Contrast checker → · Palette generator →

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