#B938AE#B938AE

#B938AE is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.209 H 331.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B938AE
RGBrgb(185, 56, 174)
HSLhsl(305, 54%, 47%)
HSVhsv(305, 70%, 73%)
CMYKcmyk(0%, 69.7%, 5.9%, 27.5%)
CIE-LABlab(47.24, 64.27, -36.13)
CIE-LCHlch(47.24, 73.73, 330.66°)
OKLaboklab(57.26% 0.1838 -0.0993)
OKLCHoklch(57.26% 0.209 331.6)
XYZxyz(29.0617, 16.2009, 41.6326)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B938AE #38B943
analogous
#8338B9 #B938AE #B9386E
triadic
#B938AE #AEB938 #38AEB9
tetradic
#B938AE #B98338 #38B943 #386EB9
square
#B938AE #B98338 #38B943 #386EB9
split-complementary
#B938AE #6EB938 #38B983
monochromatic
#5B1C56 #8A2A82 #B938AE #CF5FC5 #DD8ED6

Accessibility & contrast

On white

4.95
#B938AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B938AE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B938AE#FFFFFF#000000##FFFFFF
##B938AE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#6076AB
Tritanopia (blue-blind)
#C1466F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b938ae;
/* rgb */ color: rgb(185, 56, 174);
/* oklch */ color: oklch(57.3% 0.209 331.6);
Tailwind
colors: {
  custom: {
    50: '#d27ac6',
    500: '#b938ae',
    950: '#000000',
  },
}
SCSS
$custom: #b938ae;
$custom-light: #d27ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#b938ae",
  "rgb": {
    "r": 185,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 305.116,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5726,
    "c": 0.20891,
    "h": 331.6
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#B938AE
secondary
#85C88B
accent
#DD574B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B938AE

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

Preview Lab → · Contrast checker → · Palette generator →

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