#B930A8#B930A8

#B930A8 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.213 H 333.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B930A8
RGBrgb(185, 48, 168)
HSLhsl(307, 59%, 46%)
HSVhsv(307, 74%, 73%)
CMYKcmyk(0%, 74.1%, 9.2%, 27.5%)
CIE-LABlab(45.99, 66.04, -34.56)
CIE-LCHlch(45.99, 74.53, 332.38°)
OKLaboklab(56.26% 0.1913 -0.0947)
OKLCHoklch(56.26% 0.213 333.7)
XYZxyz(28.1326, 15.2578, 38.5016)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B930A8 #30B941
analogous
#8530B9 #B930A8 #B93064
triadic
#B930A8 #A8B930 #30A8B9
tetradic
#B930A8 #B98530 #30B941 #3064B9
square
#B930A8 #B98530 #30B941 #3064B9
split-complementary
#B930A8 #64B930 #30B985
monochromatic
#581750 #88237C #B930A8 #D354C3 #DF84D4

Accessibility & contrast

On white

5.18
#B930A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B930A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B930A8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B930A8#FFFFFF#000000##FFFFFF
##B930A81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b930a8;
/* rgb */ color: rgb(185, 48, 168);
/* oklch */ color: oklch(56.3% 0.213 333.7);
Tailwind
colors: {
  custom: {
    50: '#d276c2',
    500: '#b930a8',
    950: '#000000',
  },
}
SCSS
$custom: #b930a8;
$custom-light: #d276c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b930a8",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 307.445,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.21344,
    "h": 333.7
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#B930A8
secondary
#7CC986
accent
#E25946
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #B930A8

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

Preview Lab → · Contrast checker → · Palette generator →

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