#B0229F#B0229F

#B0229F is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.216 H 333.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B0229F
RGBrgb(176, 34, 159)
HSLhsl(307, 68%, 41%)
HSVhsv(307, 81%, 69%)
CMYKcmyk(0%, 80.7%, 9.7%, 31%)
CIE-LABlab(42.58, 66.72, -34.65)
CIE-LCHlch(42.58, 75.18, 332.55°)
OKLaboklab(53.38% 0.1937 -0.0951)
OKLCHoklch(53.38% 0.216 333.8)
XYZxyz(24.7348, 12.8796, 33.9775)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0229F #22B033
analogous
#7A22B0 #B0229F #B02258
triadic
#B0229F #9FB022 #229FB0
tetradic
#B0229F #B07A22 #22B033 #2258B0
square
#B0229F #B07A22 #22B033 #2258B0
split-complementary
#B0229F #58B022 #22B07A
monochromatic
#490E42 #7D1871 #B0229F #D837C5 #E26AD4

Accessibility & contrast

On white

5.87
#B0229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B0229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0229F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0229F#FFFFFF#000000##FFFFFF
##B0229F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#B83261
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0229f;
/* rgb */ color: rgb(176, 34, 159);
/* oklch */ color: oklch(53.4% 0.216 333.8);
Tailwind
colors: {
  custom: {
    50: '#cc70bc',
    500: '#b0229f',
    950: '#000000',
  },
}
SCSS
$custom: #b0229f;
$custom-light: #cc70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b0229f",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 307.183,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.21576,
    "h": 333.8
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#B0229F
secondary
#66C871
accent
#EA523D
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B0229F

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

Preview Lab → · Contrast checker → · Palette generator →

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