#B3229D#B3229D

#B3229D is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.216 H 335.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B3229D
RGBrgb(179, 34, 157)
HSLhsl(309, 68%, 42%)
HSVhsv(309, 81%, 70%)
CMYKcmyk(0%, 81%, 12.3%, 29.8%)
CIE-LABlab(43.01, 67.06, -32.74)
CIE-LCHlch(43.01, 74.63, 333.98°)
OKLaboklab(53.75% 0.1965 -0.0895)
OKLCHoklch(53.75% 0.216 335.5)
XYZxyz(25.2486, 13.1644, 33.1030)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3229D #22B338
analogous
#8022B3 #B3229D #B32255
triadic
#B3229D #9DB322 #229DB3
tetradic
#B3229D #B38022 #22B338 #2255B3
square
#B3229D #B38022 #22B338 #2255B3
split-complementary
#B3229D #55B322 #22B380
monochromatic
#4C0E43 #801870 #B3229D #D939C1 #E36CD1

Accessibility & contrast

On white

5.78
#B3229D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B3229D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3229D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3229D#FFFFFF#000000##FFFFFF
##B3229D1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#BC305F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3229d;
/* rgb */ color: rgb(179, 34, 157);
/* oklch */ color: oklch(53.7% 0.216 335.5);
Tailwind
colors: {
  custom: {
    50: '#ce70ba',
    500: '#b3229d',
    950: '#000000',
  },
}
SCSS
$custom: #b3229d;
$custom-light: #ce70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b3229d",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 309.103,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.21591,
    "h": 335.5
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#B3229D
secondary
#68C976
accent
#EB573D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B3229D

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

Preview Lab → · Contrast checker → · Palette generator →

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