#B2279F#B2279F

#B2279F is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.212 H 334.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B2279F
RGBrgb(178, 39, 159)
HSLhsl(308, 64%, 43%)
HSVhsv(308, 78%, 70%)
CMYKcmyk(0%, 78.1%, 10.7%, 30.2%)
CIE-LABlab(43.39, 65.82, -33.35)
CIE-LCHlch(43.39, 73.79, 333.13°)
OKLaboklab(54.02% 0.1917 -0.0914)
OKLCHoklch(54.02% 0.212 334.5)
XYZxyz(25.3439, 13.4215, 34.0500)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2279F #27B23A
analogous
#7F27B2 #B2279F #B2275A
triadic
#B2279F #9FB227 #279FB2
tetradic
#B2279F #B27F27 #27B23A #275AB2
square
#B2279F #B27F27 #27B23A #275AB2
split-complementary
#B2279F #5AB227 #27B27F
monochromatic
#4E1145 #801C72 #B2279F #D541C1 #E073D1

Accessibility & contrast

On white

5.70
#B2279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B2279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2279F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2279F#FFFFFF#000000##FFFFFF
##B2279F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#BB3562
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2279f;
/* rgb */ color: rgb(178, 39, 159);
/* oklch */ color: oklch(54.0% 0.212 334.5);
Tailwind
colors: {
  custom: {
    50: '#cd72bc',
    500: '#b2279f',
    950: '#000000',
  },
}
SCSS
$custom: #b2279f;
$custom-light: #cd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2279f",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 308.201,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.21238,
    "h": 334.5
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2279F

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

Preview Lab → · Contrast checker → · Palette generator →

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