#B229AC#B229AC

#B229AC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.220 H 330.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B229AC
RGBrgb(178, 41, 172)
HSLhsl(303, 63%, 43%)
HSVhsv(303, 77%, 70%)
CMYKcmyk(0%, 77%, 3.4%, 30.2%)
CIE-LABlab(44.28, 67.23, -39.70)
CIE-LCHlch(44.28, 78.08, 329.44°)
OKLaboklab(54.88% 0.1904 -0.1097)
OKLCHoklch(54.88% 0.22 330)
XYZxyz(26.5993, 14.0315, 40.3291)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229AC #29B22F
analogous
#7429B2 #B229AC #B22967
triadic
#B229AC #ACB229 #29ACB2
tetradic
#B229AC #B27429 #29B22F #2967B2
square
#B229AC #B27429 #29B22F #2967B2
split-complementary
#B229AC #67B229 #29B274
monochromatic
#4F124C #801E7C #B229AC #D444CE #DF76DB

Accessibility & contrast

On white

5.52
#B229AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B229AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229AC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229AC#FFFFFF#000000##FFFFFF
##B229AC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#B93D6A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b229ac;
/* rgb */ color: rgb(178, 41, 172);
/* oklch */ color: oklch(54.9% 0.220 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd73c5',
    500: '#b229ac',
    950: '#000000',
  },
}
SCSS
$custom: #b229ac;
$custom-light: #cd73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b229ac",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 302.628,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.21976,
    "h": 330
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#B229AC
secondary
#70C774
accent
#E64942
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B229AC

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

Preview Lab → · Contrast checker → · Palette generator →

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