#B229B6#B229B6

#B229B6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.227 H 326.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B229B6
RGBrgb(178, 41, 182)
HSLhsl(298, 63%, 44%)
HSVhsv(298, 77%, 71%)
CMYKcmyk(2.2%, 77.5%, 0%, 28.6%)
CIE-LABlab(44.84, 68.83, -44.71)
CIE-LCHlch(44.84, 82.07, 326.99°)
OKLaboklab(55.47% 0.1902 -0.1243)
OKLCHoklch(55.47% 0.227 326.8)
XYZxyz(27.5961, 14.4302, 45.5787)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229B6 #2DB629
analogous
#6B29B6 #B229B6 #B62973
triadic
#B229B6 #B6B229 #29B6B2
tetradic
#B229B6 #B66B29 #2DB629 #2973B6
square
#B229B6 #B66B29 #2DB629 #2973B6
split-complementary
#B229B6 #73B629 #29B66B
monochromatic
#501252 #811E84 #B229B6 #D147D5 #DE79E1

Accessibility & contrast

On white

5.40
#B229B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B229B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229B6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229B6#FFFFFF#000000##FFFFFF
##B229B61.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#B7426F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b229b6;
/* rgb */ color: rgb(178, 41, 182);
/* oklch */ color: oklch(55.5% 0.227 326.8);
Tailwind
colors: {
  custom: {
    50: '#cd73cc',
    500: '#b229b6',
    950: '#000000',
  },
}
SCSS
$custom: #b229b6;
$custom-light: #cd73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b229b6",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 298.298,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.22717,
    "h": 326.8
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#B229B6
secondary
#75C972
accent
#E64246
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B229B6

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

Preview Lab → · Contrast checker → · Palette generator →

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