#B229A6#B229A6

#B229A6 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.215 H 332.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B229A6
RGBrgb(178, 41, 166)
HSLhsl(305, 63%, 43%)
HSVhsv(305, 77%, 70%)
CMYKcmyk(0%, 77%, 6.7%, 30.2%)
CIE-LABlab(43.95, 66.30, -36.65)
CIE-LCHlch(43.95, 75.76, 331.07°)
OKLaboklab(54.54% 0.1903 -0.1009)
OKLCHoklch(54.54% 0.215 332.1)
XYZxyz(26.0360, 13.8062, 37.3626)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229A6 #29B235
analogous
#7929B2 #B229A6 #B22962
triadic
#B229A6 #A6B229 #29A6B2
tetradic
#B229A6 #B27929 #29B235 #2962B2
square
#B229A6 #B27929 #29B235 #2962B2
split-complementary
#B229A6 #62B229 #29B279
monochromatic
#4F1249 #801E78 #B229A6 #D444C7 #DF76D6

Accessibility & contrast

On white

5.58
#B229A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B229A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229A6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229A6#FFFFFF#000000##FFFFFF
##B229A61.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CA9
Deuteranopia (green-blind)
#576FA3
Tritanopia (blue-blind)
#BA3A66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b229a6;
/* rgb */ color: rgb(178, 41, 166);
/* oklch */ color: oklch(54.5% 0.215 332.1);
Tailwind
colors: {
  custom: {
    50: '#cd73c1',
    500: '#b229a6',
    950: '#000000',
  },
}
SCSS
$custom: #b229a6;
$custom-light: #cd73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b229a6",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 305.255,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.21541,
    "h": 332.1
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#B229A6
secondary
#70C777
accent
#E65042
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B229A6

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

Preview Lab → · Contrast checker → · Palette generator →

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