#B3229F#B3229F

#B3229F is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.217 H 334.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B3229F
RGBrgb(179, 34, 159)
HSLhsl(308, 68%, 42%)
HSVhsv(308, 81%, 70%)
CMYKcmyk(0%, 81%, 11.2%, 29.8%)
CIE-LABlab(43.11, 67.35, -33.78)
CIE-LCHlch(43.11, 75.35, 333.36°)
OKLaboklab(53.86% 0.1966 -0.0925)
OKLCHoklch(53.86% 0.217 334.8)
XYZxyz(25.4208, 13.2333, 34.0096)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3229F #22B336
analogous
#7F22B3 #B3229F #B32257
triadic
#B3229F #9FB322 #229FB3
tetradic
#B3229F #B37F22 #22B336 #2257B3
square
#B3229F #B37F22 #22B336 #2257B3
split-complementary
#B3229F #57B322 #22B37F
monochromatic
#4C0E44 #801871 #B3229F #D939C3 #E36CD3

Accessibility & contrast

On white

5.76
#B3229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B3229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3229F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3229F#FFFFFF#000000##FFFFFF
##B3229F1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#596D9C
Tritanopia (blue-blind)
#BC3161
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3229f;
/* rgb */ color: rgb(179, 34, 159);
/* oklch */ color: oklch(53.9% 0.217 334.8);
Tailwind
colors: {
  custom: {
    50: '#ce70bc',
    500: '#b3229f',
    950: '#000000',
  },
}
SCSS
$custom: #b3229f;
$custom-light: #ce70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b3229f",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 308.276,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.21725,
    "h": 334.8
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#B3229F
secondary
#68C975
accent
#EB553D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3229F

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

Preview Lab → · Contrast checker → · Palette generator →

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