#B229B1#B229B1

#B229B1 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.223 H 328.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B229B1
RGBrgb(178, 41, 177)
HSLhsl(300, 63%, 43%)
HSVhsv(300, 77%, 70%)
CMYKcmyk(0%, 77%, 0.6%, 30.2%)
CIE-LABlab(44.56, 68.02, -42.22)
CIE-LCHlch(44.56, 80.06, 328.17°)
OKLaboklab(55.17% 0.1903 -0.117)
OKLCHoklch(55.17% 0.223 328.4)
XYZxyz(27.0886, 14.2272, 42.9058)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229B1 #29B22A
analogous
#6E29B2 #B229B1 #B2296C
triadic
#B229B1 #B1B229 #29B1B2
tetradic
#B229B1 #B26E29 #29B22A #296CB2
square
#B229B1 #B26E29 #29B22A #296CB2
split-complementary
#B229B1 #6CB229 #29B26E
monochromatic
#4F124E #801E80 #B229B1 #D444D3 #DF76DF

Accessibility & contrast

On white

5.46
#B229B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B229B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229B1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229B1#FFFFFF#000000##FFFFFF
##B229B11.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045EB5
Deuteranopia (green-blind)
#516FAE
Tritanopia (blue-blind)
#B8406C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b229b1;
/* rgb */ color: rgb(178, 41, 177);
/* oklch */ color: oklch(55.2% 0.223 328.4);
Tailwind
colors: {
  custom: {
    50: '#cd73c9',
    500: '#b229b1',
    950: '#000000',
  },
}
SCSS
$custom: #b229b1;
$custom-light: #cd73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b229b1",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 300.438,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.22343,
    "h": 328.4
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#B229B1
secondary
#70C770
accent
#E64342
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B229B1

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

Preview Lab → · Contrast checker → · Palette generator →

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