#B229AA#B229AA

#B229AA is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.218 H 330.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B229AA
RGBrgb(178, 41, 170)
HSLhsl(304, 63%, 43%)
HSVhsv(304, 77%, 70%)
CMYKcmyk(0%, 77%, 4.5%, 30.2%)
CIE-LABlab(44.17, 66.92, -38.69)
CIE-LCHlch(44.17, 77.30, 329.96°)
OKLaboklab(54.77% 0.1904 -0.1068)
OKLCHoklch(54.77% 0.218 330.7)
XYZxyz(26.4087, 13.9553, 39.3252)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229AA #29B231
analogous
#7629B2 #B229AA #B22965
triadic
#B229AA #AAB229 #29AAB2
tetradic
#B229AA #B27629 #29B231 #2965B2
square
#B229AA #B27629 #29B231 #2965B2
split-complementary
#B229AA #65B229 #29B276
monochromatic
#4F124B #801E7A #B229AA #D444CC #DF76D9

Accessibility & contrast

On white

5.54
#B229AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B229AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229AA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229AA#FFFFFF#000000##FFFFFF
##B229AA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175DAD
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#B93C68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b229aa;
/* rgb */ color: rgb(178, 41, 170);
/* oklch */ color: oklch(54.8% 0.218 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd73c4',
    500: '#b229aa',
    950: '#000000',
  },
}
SCSS
$custom: #b229aa;
$custom-light: #cd73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b229aa",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 303.504,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.2183,
    "h": 330.7
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#B229AA
secondary
#70C775
accent
#E64C42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B229AA

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

Preview Lab → · Contrast checker → · Palette generator →

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