#B229A8#B229A8

#B229A8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.217 H 331.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B229A8
RGBrgb(178, 41, 168)
HSLhsl(304, 63%, 43%)
HSVhsv(304, 77%, 70%)
CMYKcmyk(0%, 77%, 5.6%, 30.2%)
CIE-LABlab(44.06, 66.61, -37.67)
CIE-LCHlch(44.06, 76.52, 330.51°)
OKLaboklab(54.66% 0.1904 -0.1038)
OKLCHoklch(54.66% 0.217 331.4)
XYZxyz(26.2209, 13.8802, 38.3363)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229A8 #29B233
analogous
#7829B2 #B229A8 #B22963
triadic
#B229A8 #A8B229 #29A8B2
tetradic
#B229A8 #B27829 #29B233 #2963B2
square
#B229A8 #B27829 #29B233 #2963B2
split-complementary
#B229A8 #63B229 #29B278
monochromatic
#4F124A #801E79 #B229A8 #D444C9 #DF76D8

Accessibility & contrast

On white

5.56
#B229A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B229A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229A8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229A8#FFFFFF#000000##FFFFFF
##B229A81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAB
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#B93B67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b229a8;
/* rgb */ color: rgb(178, 41, 168);
/* oklch */ color: oklch(54.7% 0.217 331.4);
Tailwind
colors: {
  custom: {
    50: '#cd73c2',
    500: '#b229a8',
    950: '#000000',
  },
}
SCSS
$custom: #b229a8;
$custom-light: #cd73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b229a8",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 304.38,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.21686,
    "h": 331.4
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#B229A8
secondary
#70C776
accent
#E64E42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B229A8

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

Preview Lab → · Contrast checker → · Palette generator →

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