#B3229E#B3229E

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

Color values

HEX#B3229E
RGBrgb(179, 34, 158)
HSLhsl(309, 68%, 42%)
HSVhsv(309, 81%, 70%)
CMYKcmyk(0%, 81%, 11.7%, 29.8%)
CIE-LABlab(43.06, 67.21, -33.26)
CIE-LCHlch(43.06, 74.99, 333.67°)
OKLaboklab(53.8% 0.1965 -0.091)
OKLCHoklch(53.8% 0.217 335.1)
XYZxyz(25.3344, 13.1987, 33.5545)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3229E #22B337
analogous
#8022B3 #B3229E #B32255
triadic
#B3229E #9EB322 #229EB3
tetradic
#B3229E #B38022 #22B337 #2255B3
square
#B3229E #B38022 #22B337 #2255B3
split-complementary
#B3229E #55B322 #22B380
monochromatic
#4C0E43 #801871 #B3229E #D939C2 #E36CD2

Accessibility & contrast

On white

5.77
#B3229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B3229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3229E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3229E#FFFFFF#000000##FFFFFF
##B3229E1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#BC3060
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3229e;
/* rgb */ color: rgb(179, 34, 158);
/* oklch */ color: oklch(53.8% 0.217 335.1);
Tailwind
colors: {
  custom: {
    50: '#ce70bb',
    500: '#b3229e',
    950: '#000000',
  },
}
SCSS
$custom: #b3229e;
$custom-light: #ce70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3229e",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 308.69,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.21658,
    "h": 335.1
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#B3229E
secondary
#68C976
accent
#EB563D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3229E

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

Preview Lab → · Contrast checker → · Palette generator →

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