#B229B0#B229B0

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

Color values

HEX#B229B0
RGBrgb(178, 41, 176)
HSLhsl(301, 63%, 43%)
HSVhsv(301, 77%, 70%)
CMYKcmyk(0%, 77%, 1.1%, 30.2%)
CIE-LABlab(44.50, 67.86, -41.72)
CIE-LCHlch(44.50, 79.66, 328.42°)
OKLaboklab(55.11% 0.1904 -0.1156)
OKLCHoklch(55.11% 0.223 328.7)
XYZxyz(26.9893, 14.1875, 42.3828)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229B0 #29B22B
analogous
#6F29B2 #B229B0 #B2296B
triadic
#B229B0 #B0B229 #29B0B2
tetradic
#B229B0 #B26F29 #29B22B #296BB2
square
#B229B0 #B26F29 #29B22B #296BB2
split-complementary
#B229B0 #6BB229 #29B26F
monochromatic
#4F124E #801E7F #B229B0 #D444D2 #DF76DE

Accessibility & contrast

On white

5.47
#B229B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B229B0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229B0#FFFFFF#000000##FFFFFF
##B229B01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075EB4
Deuteranopia (green-blind)
#526FAD
Tritanopia (blue-blind)
#B83F6C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b229b0;
/* rgb */ color: rgb(178, 41, 176);
/* oklch */ color: oklch(55.1% 0.223 328.7);
Tailwind
colors: {
  custom: {
    50: '#cd73c8',
    500: '#b229b0',
    950: '#000000',
  },
}
SCSS
$custom: #b229b0;
$custom-light: #cd73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b229b0",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 300.876,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55111,
    "c": 0.2227,
    "h": 328.7
  },
  "luminance": 0.14185
}

Semantic roles & 50–950 ramp

primary
#B229B0
secondary
#70C771
accent
#E64542
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B229B0

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

Preview Lab → · Contrast checker → · Palette generator →

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