#B934A8#B934A8

#B934A8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.209 H 333.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B934A8
RGBrgb(185, 52, 168)
HSLhsl(308, 56%, 46%)
HSVhsv(308, 72%, 73%)
CMYKcmyk(0%, 71.9%, 9.2%, 27.5%)
CIE-LABlab(46.45, 64.73, -33.83)
CIE-LCHlch(46.45, 73.04, 332.40°)
OKLaboklab(56.59% 0.1874 -0.0927)
OKLCHoklch(56.59% 0.209 333.7)
XYZxyz(28.3037, 15.5998, 38.5586)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B934A8 #34B945
analogous
#8834B9 #B934A8 #B93466
triadic
#B934A8 #A8B934 #34A8B9
tetradic
#B934A8 #B98834 #34B945 #3466B9
square
#B934A8 #B98834 #34B945 #3466B9
split-complementary
#B934A8 #66B934 #34B988
monochromatic
#591951 #89277D #B934A8 #D15AC1 #DE89D3

Accessibility & contrast

On white

5.10
#B934A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B934A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B934A8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B934A8#FFFFFF#000000##FFFFFF
##B934A81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AB
Deuteranopia (green-blind)
#6175A5
Tritanopia (blue-blind)
#C2406A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b934a8;
/* rgb */ color: rgb(185, 52, 168);
/* oklch */ color: oklch(56.6% 0.209 333.7);
Tailwind
colors: {
  custom: {
    50: '#d278c2',
    500: '#b934a8',
    950: '#000000',
  },
}
SCSS
$custom: #b934a8;
$custom-light: #d278c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b934a8",
  "rgb": {
    "r": 185,
    "g": 52,
    "b": 168
  },
  "hsl": {
    "h": 307.669,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.20909,
    "h": 333.7
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#B934A8
secondary
#81C88A
accent
#DF5C48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #B934A8

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

Preview Lab → · Contrast checker → · Palette generator →

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