#B4279E#B4279E

#B4279E is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.213 H 335.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B4279E
RGBrgb(180, 39, 158)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 71%)
CMYKcmyk(0%, 78.3%, 12.2%, 29.4%)
CIE-LABlab(43.69, 66.12, -32.26)
CIE-LCHlch(43.69, 73.57, 333.99°)
OKLaboklab(54.29% 0.1936 -0.0882)
OKLCHoklch(54.29% 0.213 335.5)
XYZxyz(25.7199, 13.6253, 33.6165)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4279E #27B43D
analogous
#8427B4 #B4279E #B42757
triadic
#B4279E #9EB427 #279EB4
tetradic
#B4279E #B48427 #27B43D #2757B4
square
#B4279E #B48427 #27B43D #2757B4
split-complementary
#B4279E #57B427 #27B484
monochromatic
#4F1146 #821C72 #B4279E #D642BF #E174D0

Accessibility & contrast

On white

5.64
#B4279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B4279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4279E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4279E#FFFFFF#000000##FFFFFF
##B4279E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#BD3361
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4279e;
/* rgb */ color: rgb(180, 39, 158);
/* oklch */ color: oklch(54.3% 0.213 335.5);
Tailwind
colors: {
  custom: {
    50: '#cf72bb',
    500: '#b4279e',
    950: '#000000',
  },
}
SCSS
$custom: #b4279e;
$custom-light: #cf72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4279e",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 309.362,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.21273,
    "h": 335.5
  },
  "luminance": 0.13623
}

Semantic roles & 50–950 ramp

primary
#B4279E
secondary
#6FC87D
accent
#E75A40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4279E

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

Preview Lab → · Contrast checker → · Palette generator →

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