#B229A1#B229A1

#B229A1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.212 H 333.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B229A1
RGBrgb(178, 41, 161)
HSLhsl(307, 63%, 43%)
HSVhsv(307, 77%, 70%)
CMYKcmyk(0%, 77%, 9.6%, 30.2%)
CIE-LABlab(43.69, 65.55, -34.08)
CIE-LCHlch(43.69, 73.88, 332.53°)
OKLaboklab(54.27% 0.1901 -0.0935)
OKLCHoklch(54.27% 0.212 333.8)
XYZxyz(25.5863, 13.6263, 34.9939)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229A1 #29B23A
analogous
#7E29B2 #B229A1 #B2295D
triadic
#B229A1 #A1B229 #29A1B2
tetradic
#B229A1 #B27E29 #29B23A #295DB2
square
#B229A1 #B27E29 #29B23A #295DB2
split-complementary
#B229A1 #5DB229 #29B27E
monochromatic
#4F1247 #801E74 #B229A1 #D444C2 #DF76D2

Accessibility & contrast

On white

5.64
#B229A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B229A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229A1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229A1#FFFFFF#000000##FFFFFF
##B229A11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA4
Deuteranopia (green-blind)
#5A6E9E
Tritanopia (blue-blind)
#BA3763
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b229a1;
/* rgb */ color: rgb(178, 41, 161);
/* oklch */ color: oklch(54.3% 0.212 333.8);
Tailwind
colors: {
  custom: {
    50: '#cd72bd',
    500: '#b229a1',
    950: '#000000',
  },
}
SCSS
$custom: #b229a1;
$custom-light: #cd72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b229a1",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 307.445,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.21187,
    "h": 333.8
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#B229A1
secondary
#70C77B
accent
#E65642
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B229A1

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

Preview Lab → · Contrast checker → · Palette generator →

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