#B945AE#B945AE

#B945AE is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.192 H 331.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B945AE
RGBrgb(185, 69, 174)
HSLhsl(306, 46%, 50%)
HSVhsv(306, 63%, 73%)
CMYKcmyk(0%, 62.7%, 5.9%, 27.5%)
CIE-LABlab(49.04, 59.23, -33.30)
CIE-LCHlch(49.04, 67.94, 330.66°)
OKLaboklab(58.57% 0.1692 -0.0913)
OKLCHoklch(58.57% 0.192 331.7)
XYZxyz(29.7756, 17.6287, 41.8706)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B945AE #45B950
analogous
#8A45B9 #B945AE #B94574
triadic
#B945AE #AEB945 #45AEB9
tetradic
#B945AE #B98A45 #45B950 #4574B9
square
#B945AE #B98A45 #45B950 #4574B9
split-complementary
#B945AE #74B945 #45B98A
monochromatic
#60245A #8C3484 #B945AE #CA71C2 #DB9ED5

Accessibility & contrast

On white

4.64
#B945AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B945AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B945AE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B945AE#FFFFFF#000000##FFFFFF
##B945AE1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB1
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#C05073
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b945ae;
/* rgb */ color: rgb(185, 69, 174);
/* oklch */ color: oklch(58.6% 0.192 331.7);
Tailwind
colors: {
  custom: {
    50: '#d180c6',
    500: '#b945ae',
    950: '#000000',
  },
}
SCSS
$custom: #b945ae;
$custom-light: #d180c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b945ae",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 305.69,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58568,
    "c": 0.19224,
    "h": 331.7
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#B945AE
secondary
#93C798
accent
#D55F52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B945AE

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

Preview Lab → · Contrast checker → · Palette generator →

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