#B2279C#B2279C

#B2279C is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.210 H 335.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B2279C
RGBrgb(178, 39, 156)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 70%)
CMYKcmyk(0%, 78.1%, 12.4%, 30.2%)
CIE-LABlab(43.24, 65.39, -31.79)
CIE-LCHlch(43.24, 72.71, 334.07°)
OKLaboklab(53.86% 0.1915 -0.0869)
OKLCHoklch(53.86% 0.21 335.6)
XYZxyz(25.0868, 13.3186, 32.6956)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2279C #27B23D
analogous
#8227B2 #B2279C #B22757
triadic
#B2279C #9CB227 #279CB2
tetradic
#B2279C #B28227 #27B23D #2757B2
square
#B2279C #B28227 #27B23D #2757B2
split-complementary
#B2279C #57B227 #27B282
monochromatic
#4E1144 #801C70 #B2279C #D541BE #E073CF

Accessibility & contrast

On white

5.73
#B2279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B2279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2279C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2279C#FFFFFF#000000##FFFFFF
##B2279C1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#5B6D99
Tritanopia (blue-blind)
#BB3360
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2279c;
/* rgb */ color: rgb(178, 39, 156);
/* oklch */ color: oklch(53.9% 0.210 335.6);
Tailwind
colors: {
  custom: {
    50: '#cd71b9',
    500: '#b2279c',
    950: '#000000',
  },
}
SCSS
$custom: #b2279c;
$custom-light: #cd71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b2279c",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 309.496,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.21031,
    "h": 335.6
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#B2279C
secondary
#6DC87C
accent
#E75B41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2279C

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

Preview Lab → · Contrast checker → · Palette generator →

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