#B0279E#B0279E

#B0279E is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.211 H 334.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B0279E
RGBrgb(176, 39, 158)
HSLhsl(308, 64%, 42%)
HSVhsv(308, 78%, 69%)
CMYKcmyk(0%, 77.8%, 10.2%, 31%)
CIE-LABlab(42.99, 65.24, -33.41)
CIE-LCHlch(42.99, 73.29, 332.88°)
OKLaboklab(53.65% 0.1897 -0.0916)
OKLCHoklch(53.65% 0.211 334.2)
XYZxyz(24.8018, 13.1520, 33.5735)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0279E #27B039
analogous
#7D27B0 #B0279E #B0275A
triadic
#B0279E #9EB027 #279EB0
tetradic
#B0279E #B07D27 #27B039 #275AB0
square
#B0279E #B07D27 #27B039 #275AB0
split-complementary
#B0279E #5AB027 #27B07D
monochromatic
#4C1144 #7E1C71 #B0279E #D540C1 #E072D1

Accessibility & contrast

On white

5.79
#B0279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B0279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0279E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0279E#FFFFFF#000000##FFFFFF
##B0279E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#B93561
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0279e;
/* rgb */ color: rgb(176, 39, 158);
/* oklch */ color: oklch(53.7% 0.211 334.2);
Tailwind
colors: {
  custom: {
    50: '#cc71bb',
    500: '#b0279e',
    950: '#000000',
  },
}
SCSS
$custom: #b0279e;
$custom-light: #cc71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b0279e",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 307.883,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.21064,
    "h": 334.2
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#B0279E
secondary
#6CC778
accent
#E75741
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B0279E

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

Preview Lab → · Contrast checker → · Palette generator →

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