#B934B7#B934B7

#B934B7 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.220 H 328.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B934B7
RGBrgb(185, 52, 183)
HSLhsl(301, 56%, 46%)
HSVhsv(301, 72%, 73%)
CMYKcmyk(0%, 71.9%, 1.1%, 27.5%)
CIE-LABlab(47.22, 67.09, -41.44)
CIE-LCHlch(47.22, 78.85, 328.30°)
OKLaboklab(57.4% 0.1881 -0.1147)
OKLCHoklch(57.4% 0.22 328.6)
XYZxyz(29.7825, 16.1914, 46.3472)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B934B7 #34B936
analogous
#7934B9 #B934B7 #B93475
triadic
#B934B7 #B7B934 #34B7B9
tetradic
#B934B7 #B97934 #34B936 #3475B9
square
#B934B7 #B97934 #34B936 #3475B9
split-complementary
#B934B7 #75B934 #34B979
monochromatic
#591958 #892788 #B934B7 #D15ACF #DE89DD

Accessibility & contrast

On white

4.96
#B934B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B934B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B934B7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B934B7#FFFFFF#000000##FFFFFF
##B934B71.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BB
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#BF4773
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b934b7;
/* rgb */ color: rgb(185, 52, 183);
/* oklch */ color: oklch(57.4% 0.220 328.6);
Tailwind
colors: {
  custom: {
    50: '#d279cd',
    500: '#b934b7',
    950: '#000000',
  },
}
SCSS
$custom: #b934b7;
$custom-light: #d279cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b934b7",
  "rgb": {
    "r": 185,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 300.902,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57404,
    "c": 0.22026,
    "h": 328.6
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#B934B7
secondary
#81C882
accent
#DF4B48
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B934B7

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

Preview Lab → · Contrast checker → · Palette generator →

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