#B4279F#B4279F

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

Color values

HEX#B4279F
RGBrgb(180, 39, 159)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 71%)
CMYKcmyk(0%, 78.3%, 11.7%, 29.4%)
CIE-LABlab(43.74, 66.26, -32.78)
CIE-LCHlch(43.74, 73.93, 333.68°)
OKLaboklab(54.34% 0.1937 -0.0897)
OKLCHoklch(54.34% 0.213 335.2)
XYZxyz(25.8063, 13.6599, 34.0717)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4279F #27B43C
analogous
#8227B4 #B4279F #B42758
triadic
#B4279F #9FB427 #279FB4
tetradic
#B4279F #B48227 #27B43C #2758B4
square
#B4279F #B48227 #27B43C #2758B4
split-complementary
#B4279F #58B427 #27B482
monochromatic
#4F1146 #821C73 #B4279F #D642C0 #E174D1

Accessibility & contrast

On white

5.63
#B4279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B4279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4279F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4279F#FFFFFF#000000##FFFFFF
##B4279F1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#5C6F9C
Tritanopia (blue-blind)
#BD3462
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4279f;
/* rgb */ color: rgb(180, 39, 159);
/* oklch */ color: oklch(54.3% 0.213 335.2);
Tailwind
colors: {
  custom: {
    50: '#cf72bc',
    500: '#b4279f',
    950: '#000000',
  },
}
SCSS
$custom: #b4279f;
$custom-light: #cf72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b4279f",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 308.936,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.21341,
    "h": 335.2
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#B4279F
secondary
#6FC87C
accent
#E75940
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4279F

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

Preview Lab → · Contrast checker → · Palette generator →

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