#B942AA#B942AA

#B942AA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.193 H 333.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B942AA
RGBrgb(185, 66, 170)
HSLhsl(308, 47%, 49%)
HSVhsv(308, 64%, 73%)
CMYKcmyk(0%, 64.3%, 8.1%, 27.5%)
CIE-LABlab(48.41, 59.82, -31.94)
CIE-LCHlch(48.41, 67.81, 331.90°)
OKLaboklab(58.04% 0.1723 -0.0874)
OKLCHoklch(58.04% 0.193 333.1)
XYZxyz(29.2116, 17.1153, 39.7875)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B942AA #42B951
analogous
#8D42B9 #B942AA #B9426F
triadic
#B942AA #AAB942 #42AAB9
tetradic
#B942AA #B98D42 #42B951 #426FB9
square
#B942AA #B98D42 #42B951 #426FB9
split-complementary
#B942AA #6FB942 #42B98D
monochromatic
#5F2257 #8C3281 #B942AA #CB6DBF #DB9AD3

Accessibility & contrast

On white

4.75
#B942AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B942AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B942AA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B942AA#FFFFFF#000000##FFFFFF
##B942AA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#C14C70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b942aa;
/* rgb */ color: rgb(185, 66, 170);
/* oklch */ color: oklch(58.0% 0.193 333.1);
Tailwind
colors: {
  custom: {
    50: '#d17fc3',
    500: '#b942aa',
    950: '#000000',
  },
}
SCSS
$custom: #b942aa;
$custom-light: #d17fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b942aa",
  "rgb": {
    "r": 185,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 307.563,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.19322,
    "h": 333.1
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#B942AA
secondary
#90C797
accent
#D76251
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B942AA

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

Preview Lab → · Contrast checker → · Palette generator →

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