#B2279E#B2279E

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

Color values

HEX#B2279E
RGBrgb(178, 39, 158)
HSLhsl(309, 64%, 43%)
HSVhsv(309, 78%, 70%)
CMYKcmyk(0%, 78.1%, 11.2%, 30.2%)
CIE-LABlab(43.34, 65.68, -32.83)
CIE-LCHlch(43.34, 73.43, 333.44°)
OKLaboklab(53.97% 0.1917 -0.0899)
OKLCHoklch(53.97% 0.212 334.9)
XYZxyz(25.2575, 13.3869, 33.5948)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2279E #27B23B
analogous
#8027B2 #B2279E #B22759
triadic
#B2279E #9EB227 #279EB2
tetradic
#B2279E #B28027 #27B23B #2759B2
square
#B2279E #B28027 #27B23B #2759B2
split-complementary
#B2279E #59B227 #27B280
monochromatic
#4E1145 #801C71 #B2279E #D541C0 #E073D1

Accessibility & contrast

On white

5.71
#B2279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2279E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2279E#FFFFFF#000000##FFFFFF
##B2279E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A1
Deuteranopia (green-blind)
#5A6E9B
Tritanopia (blue-blind)
#BB3461
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b2279e;
/* rgb */ color: rgb(178, 39, 158);
/* oklch */ color: oklch(54.0% 0.212 334.9);
Tailwind
colors: {
  custom: {
    50: '#cd72bb',
    500: '#b2279e',
    950: '#000000',
  },
}
SCSS
$custom: #b2279e;
$custom-light: #cd72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2279e",
  "rgb": {
    "r": 178,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 308.633,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.21168,
    "h": 334.9
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2279E

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

Preview Lab → · Contrast checker → · Palette generator →

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