#B2279D#B2279D

#B2279D is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.211 H 335.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B2279D
RGBrgb(178, 39, 157)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 70%)
CMYKcmyk(0%, 78.1%, 11.8%, 30.2%)
CIE-LABlab(43.29, 65.53, -32.31)
CIE-LCHlch(43.29, 73.07, 333.75°)
OKLaboklab(53.92% 0.1916 -0.0884)
OKLCHoklch(53.92% 0.211 335.2)
XYZxyz(25.1718, 13.3526, 33.1434)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2279D #27B23C
analogous
#8227B2 #B2279D #B22757
triadic
#B2279D #9DB227 #279DB2
tetradic
#B2279D #B28227 #27B23C #2757B2
square
#B2279D #B28227 #27B23C #2757B2
split-complementary
#B2279D #57B227 #27B282
monochromatic
#4E1144 #801C71 #B2279D #D541BF #E073D0

Accessibility & contrast

On white

5.72
#B2279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B2279D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2279D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2279D#FFFFFF#000000##FFFFFF
##B2279D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2759A0
Deuteranopia (green-blind)
#5B6D9A
Tritanopia (blue-blind)
#BB3461
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2279d;
/* rgb */ color: rgb(178, 39, 157);
/* oklch */ color: oklch(53.9% 0.211 335.2);
Tailwind
colors: {
  custom: {
    50: '#cd72ba',
    500: '#b2279d',
    950: '#000000',
  },
}
SCSS
$custom: #b2279d;
$custom-light: #cd72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2279d",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 309.065,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.21099,
    "h": 335.2
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2279D

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

Preview Lab → · Contrast checker → · Palette generator →

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