#B934A7#B934A7

#B934A7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.208 H 334.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B934A7
RGBrgb(185, 52, 167)
HSLhsl(308, 56%, 46%)
HSVhsv(308, 72%, 73%)
CMYKcmyk(0%, 71.9%, 9.7%, 27.5%)
CIE-LABlab(46.40, 64.58, -33.32)
CIE-LCHlch(46.40, 72.67, 332.71°)
OKLaboklab(56.54% 0.1874 -0.0912)
OKLCHoklch(56.54% 0.208 334)
XYZxyz(28.2109, 15.5627, 38.0698)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B934A7 #34B946
analogous
#8934B9 #B934A7 #B93465
triadic
#B934A7 #A7B934 #34A7B9
tetradic
#B934A7 #B98934 #34B946 #3465B9
square
#B934A7 #B98934 #34B946 #3465B9
split-complementary
#B934A7 #65B934 #34B989
monochromatic
#591951 #89277C #B934A7 #D15AC0 #DE89D3

Accessibility & contrast

On white

5.11
#B934A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B934A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B934A7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B934A7#FFFFFF#000000##FFFFFF
##B934A71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AA
Deuteranopia (green-blind)
#6175A4
Tritanopia (blue-blind)
#C2406A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b934a7;
/* rgb */ color: rgb(185, 52, 167);
/* oklch */ color: oklch(56.5% 0.208 334.0);
Tailwind
colors: {
  custom: {
    50: '#d278c1',
    500: '#b934a7',
    950: '#000000',
  },
}
SCSS
$custom: #b934a7;
$custom-light: #d278c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b934a7",
  "rgb": {
    "r": 185,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 308.12,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.20838,
    "h": 334
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#B934A7
secondary
#81C88A
accent
#DF5D48
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B934A7

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

Preview Lab → · Contrast checker → · Palette generator →

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