#B0279D#B0279D

#B0279D is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.210 H 334.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B0279D
RGBrgb(176, 39, 157)
HSLhsl(308, 64%, 42%)
HSVhsv(308, 78%, 69%)
CMYKcmyk(0%, 77.8%, 10.8%, 31%)
CIE-LABlab(42.94, 65.09, -32.89)
CIE-LCHlch(42.94, 72.93, 333.19°)
OKLaboklab(53.6% 0.1897 -0.0901)
OKLCHoklch(53.6% 0.21 334.6)
XYZxyz(24.7161, 13.1177, 33.1220)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0279D #27B03A
analogous
#7F27B0 #B0279D #B02759
triadic
#B0279D #9DB027 #279DB0
tetradic
#B0279D #B07F27 #27B03A #2759B0
square
#B0279D #B07F27 #27B03A #2759B0
split-complementary
#B0279D #59B027 #27B07F
monochromatic
#4C1144 #7E1C70 #B0279D #D540C0 #E072D0

Accessibility & contrast

On white

5.80
#B0279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B0279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0279D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0279D#FFFFFF#000000##FFFFFF
##B0279D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#B93461
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0279d;
/* rgb */ color: rgb(176, 39, 157);
/* oklch */ color: oklch(53.6% 0.210 334.6);
Tailwind
colors: {
  custom: {
    50: '#cc71ba',
    500: '#b0279d',
    950: '#000000',
  },
}
SCSS
$custom: #b0279d;
$custom-light: #cc71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b0279d",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 308.321,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.536,
    "c": 0.20995,
    "h": 334.6
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#B0279D
secondary
#6CC779
accent
#E75841
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B0279D

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

Preview Lab → · Contrast checker → · Palette generator →

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