#B945AA#B945AA

#B945AA is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.189 H 333.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B945AA
RGBrgb(185, 69, 170)
HSLhsl(308, 46%, 50%)
HSVhsv(308, 63%, 73%)
CMYKcmyk(0%, 62.7%, 8.1%, 27.5%)
CIE-LABlab(48.85, 58.58, -31.24)
CIE-LCHlch(48.85, 66.39, 331.93°)
OKLaboklab(58.37% 0.1687 -0.0854)
OKLCHoklch(58.37% 0.189 333.2)
XYZxyz(29.3915, 17.4751, 39.8474)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945AA #45B954
analogous
#8E45B9 #B945AA #B94570
triadic
#B945AA #AAB945 #45AAB9
tetradic
#B945AA #B98E45 #45B954 #4570B9
square
#B945AA #B98E45 #45B954 #4570B9
split-complementary
#B945AA #70B945 #45B98E
monochromatic
#602458 #8C3481 #B945AA #CA71BF #DB9ED3

Accessibility & contrast

On white

4.67
#B945AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B945AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B945AA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945AA#FFFFFF#000000##FFFFFF
##B945AA1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#C14E71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b945aa;
/* rgb */ color: rgb(185, 69, 170);
/* oklch */ color: oklch(58.4% 0.189 333.2);
Tailwind
colors: {
  custom: {
    50: '#d180c3',
    500: '#b945aa',
    950: '#000000',
  },
}
SCSS
$custom: #b945aa;
$custom-light: #d180c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b945aa",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 307.759,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.18909,
    "h": 333.2
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#B945AA
secondary
#93C799
accent
#D56352
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B945AA

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

Preview Lab → · Contrast checker → · Palette generator →

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