#B229AB#B229AB

#B229AB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.219 H 330.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B229AB
RGBrgb(178, 41, 171)
HSLhsl(303, 63%, 43%)
HSVhsv(303, 77%, 70%)
CMYKcmyk(0%, 77%, 3.9%, 30.2%)
CIE-LABlab(44.22, 67.07, -39.20)
CIE-LCHlch(44.22, 77.69, 329.70°)
OKLaboklab(54.82% 0.1904 -0.1082)
OKLCHoklch(54.82% 0.219 330.4)
XYZxyz(26.5036, 13.9932, 39.8252)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229AB #29B230
analogous
#7529B2 #B229AB #B22966
triadic
#B229AB #ABB229 #29ABB2
tetradic
#B229AB #B27529 #29B230 #2966B2
square
#B229AB #B27529 #29B230 #2966B2
split-complementary
#B229AB #66B229 #29B275
monochromatic
#4F124B #801E7B #B229AB #D444CD #DF76DA

Accessibility & contrast

On white

5.53
#B229AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B229AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229AB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229AB#FFFFFF#000000##FFFFFF
##B229AB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAE
Deuteranopia (green-blind)
#556FA8
Tritanopia (blue-blind)
#B93C69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b229ab;
/* rgb */ color: rgb(178, 41, 171);
/* oklch */ color: oklch(54.8% 0.219 330.4);
Tailwind
colors: {
  custom: {
    50: '#cd73c4',
    500: '#b229ab',
    950: '#000000',
  },
}
SCSS
$custom: #b229ab;
$custom-light: #cd73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b229ab",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 303.066,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.21903,
    "h": 330.4
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B229AB

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

Preview Lab → · Contrast checker → · Palette generator →

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