#B4279D#B4279D

#B4279D is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.212 H 335.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B4279D
RGBrgb(180, 39, 157)
HSLhsl(310, 64%, 43%)
HSVhsv(310, 78%, 71%)
CMYKcmyk(0%, 78.3%, 12.8%, 29.4%)
CIE-LABlab(43.64, 65.97, -31.74)
CIE-LCHlch(43.64, 73.21, 334.31°)
OKLaboklab(54.23% 0.1935 -0.0867)
OKLCHoklch(54.23% 0.212 335.9)
XYZxyz(25.6341, 13.5910, 33.1650)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4279D #27B43E
analogous
#8427B4 #B4279D #B42757
triadic
#B4279D #9DB427 #279DB4
tetradic
#B4279D #B48427 #27B43E #2757B4
square
#B4279D #B48427 #27B43E #2757B4
split-complementary
#B4279D #57B427 #27B484
monochromatic
#4F1145 #821C71 #B4279D #D642BE #E174CF

Accessibility & contrast

On white

5.65
#B4279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4279D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4279D#FFFFFF#000000##FFFFFF
##B4279D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#5D6F9A
Tritanopia (blue-blind)
#BD3361
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4279d;
/* rgb */ color: rgb(180, 39, 157);
/* oklch */ color: oklch(54.2% 0.212 335.9);
Tailwind
colors: {
  custom: {
    50: '#cf72ba',
    500: '#b4279d',
    950: '#000000',
  },
}
SCSS
$custom: #b4279d;
$custom-light: #cf72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b4279d",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 309.787,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.21205,
    "h": 335.9
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#B4279D
secondary
#6FC87D
accent
#E75C40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4279D

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

Preview Lab → · Contrast checker → · Palette generator →

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