#B934AF#B934AF

#B934AF is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.214 H 331.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B934AF
RGBrgb(185, 52, 175)
HSLhsl(305, 56%, 46%)
HSVhsv(305, 72%, 73%)
CMYKcmyk(0%, 71.9%, 5.4%, 27.5%)
CIE-LABlab(46.80, 65.81, -37.41)
CIE-LCHlch(46.80, 75.70, 330.38°)
OKLaboklab(56.96% 0.1879 -0.103)
OKLCHoklch(56.96% 0.214 331.3)
XYZxyz(28.9734, 15.8677, 42.0859)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B934AF #34B93E
analogous
#8134B9 #B934AF #B9346D
triadic
#B934AF #AFB934 #34AFB9
tetradic
#B934AF #B98134 #34B93E #346DB9
square
#B934AF #B98134 #34B93E #346DB9
split-complementary
#B934AF #6DB934 #34B981
monochromatic
#591955 #892782 #B934AF #D15AC8 #DE89D8

Accessibility & contrast

On white

5.03
#B934AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B934AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B934AF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B934AF#FFFFFF#000000##FFFFFF
##B934AF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#C0446E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b934af;
/* rgb */ color: rgb(185, 52, 175);
/* oklch */ color: oklch(57.0% 0.214 331.3);
Tailwind
colors: {
  custom: {
    50: '#d278c7',
    500: '#b934af',
    950: '#000000',
  },
}
SCSS
$custom: #b934af;
$custom-light: #d278c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b934af",
  "rgb": {
    "r": 185,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 304.511,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.21423,
    "h": 331.3
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#B934AF
secondary
#81C886
accent
#DF5448
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B934AF

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

Preview Lab → · Contrast checker → · Palette generator →

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