#B0279B#B0279B

#B0279B is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.209 H 335.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B0279B
RGBrgb(176, 39, 155)
HSLhsl(309, 64%, 42%)
HSVhsv(309, 78%, 69%)
CMYKcmyk(0%, 77.8%, 11.9%, 31%)
CIE-LABlab(42.84, 64.80, -31.84)
CIE-LCHlch(42.84, 72.20, 333.83°)
OKLaboklab(53.49% 0.1895 -0.0871)
OKLCHoklch(53.49% 0.209 335.3)
XYZxyz(24.5468, 13.0500, 32.2301)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0279B #27B03C
analogous
#8127B0 #B0279B #B02757
triadic
#B0279B #9BB027 #279BB0
tetradic
#B0279B #B08127 #27B03C #2757B0
square
#B0279B #B08127 #27B03C #2757B0
split-complementary
#B0279B #57B027 #27B081
monochromatic
#4C1143 #7E1C6F #B0279B #D540BE #E072CF

Accessibility & contrast

On white

5.82
#B0279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B0279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0279B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0279B#FFFFFF#000000##FFFFFF
##B0279B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#B9335F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0279b;
/* rgb */ color: rgb(176, 39, 155);
/* oklch */ color: oklch(53.5% 0.209 335.3);
Tailwind
colors: {
  custom: {
    50: '#cc71b9',
    500: '#b0279b',
    950: '#000000',
  },
}
SCSS
$custom: #b0279b;
$custom-light: #cc71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b0279b",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 309.197,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.20857,
    "h": 335.3
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#B0279B
secondary
#6CC77A
accent
#E75A41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B0279B

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

Preview Lab → · Contrast checker → · Palette generator →

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