#B4189E#B4189E

#B4189E is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.224 H 335.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B4189E
RGBrgb(180, 24, 158)
HSLhsl(308, 76%, 40%)
HSVhsv(308, 87%, 71%)
CMYKcmyk(0%, 86.7%, 12.2%, 29.4%)
CIE-LABlab(42.50, 69.56, -34.13)
CIE-LCHlch(42.50, 77.48, 333.86°)
OKLaboklab(53.44% 0.2038 -0.0935)
OKLCHoklch(53.44% 0.224 335.4)
XYZxyz(25.3210, 12.8276, 33.4836)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4189E #18B42E
analogous
#7C18B4 #B4189E #B41850
triadic
#B4189E #9EB418 #189EB4
tetradic
#B4189E #B47C18 #18B42E #1850B4
square
#B4189E #B47C18 #18B42E #1850B4
split-complementary
#B4189E #50B418 #18B47C
monochromatic
#480A3F #7E116F #B4189E #E227C8 #E95DD6

Accessibility & contrast

On white

5.89
#B4189E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B4189E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4189E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4189E#FFFFFF#000000##FFFFFF
##B4189E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#BD2A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4189e;
/* rgb */ color: rgb(180, 24, 158);
/* oklch */ color: oklch(53.4% 0.224 335.4);
Tailwind
colors: {
  custom: {
    50: '#cf6dbb',
    500: '#b4189e',
    950: '#000000',
  },
}
SCSS
$custom: #b4189e;
$custom-light: #cf6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4189e",
  "rgb": {
    "r": 180,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 308.462,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.22424,
    "h": 335.4
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

primary
#B4189E
secondary
#5BCD6B
accent
#F35035
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B4189E

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

Preview Lab → · Contrast checker → · Palette generator →

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