#B930B2#B930B2

#B930B2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.221 H 330.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B930B2
RGBrgb(185, 48, 178)
HSLhsl(303, 59%, 46%)
HSVhsv(303, 74%, 73%)
CMYKcmyk(0%, 74.1%, 3.8%, 27.5%)
CIE-LABlab(46.51, 67.58, -39.64)
CIE-LCHlch(46.51, 78.35, 329.60°)
OKLaboklab(56.8% 0.1917 -0.1094)
OKLCHoklch(56.8% 0.221 330.3)
XYZxyz(29.1003, 15.6448, 43.5979)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B930B2 #30B937
analogous
#7B30B9 #B930B2 #B9306D
triadic
#B930B2 #B2B930 #30B2B9
tetradic
#B930B2 #B97B30 #30B937 #306DB9
square
#B930B2 #B97B30 #30B937 #306DB9
split-complementary
#B930B2 #6DB930 #30B97B
monochromatic
#581754 #882383 #B930B2 #D354CC #DF84DB

Accessibility & contrast

On white

5.09
#B930B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B930B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B930B2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B930B2#FFFFFF#000000##FFFFFF
##B930B21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B6
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#C0426F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b930b2;
/* rgb */ color: rgb(185, 48, 178);
/* oklch */ color: oklch(56.8% 0.221 330.3);
Tailwind
colors: {
  custom: {
    50: '#d277c9',
    500: '#b930b2',
    950: '#000000',
  },
}
SCSS
$custom: #b930b2;
$custom-light: #d277c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b930b2",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 303.066,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56801,
    "c": 0.22071,
    "h": 330.3
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#B930B2
secondary
#7CC980
accent
#E24E46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B930B2

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

Preview Lab → · Contrast checker → · Palette generator →

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