#B229A0#B229A0

#B229A0 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.211 H 334.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B229A0
RGBrgb(178, 41, 160)
HSLhsl(308, 63%, 43%)
HSVhsv(308, 77%, 70%)
CMYKcmyk(0%, 77%, 10.1%, 30.2%)
CIE-LABlab(43.64, 65.40, -33.56)
CIE-LCHlch(43.64, 73.51, 332.84°)
OKLaboklab(54.22% 0.1901 -0.092)
OKLCHoklch(54.22% 0.211 334.2)
XYZxyz(25.4985, 13.5912, 34.5313)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229A0 #29B23B
analogous
#7F29B2 #B229A0 #B2295C
triadic
#B229A0 #A0B229 #29A0B2
tetradic
#B229A0 #B27F29 #29B23B #295CB2
square
#B229A0 #B27F29 #29B23B #295CB2
split-complementary
#B229A0 #5CB229 #29B27F
monochromatic
#4F1247 #801E73 #B229A0 #D444C1 #DF76D2

Accessibility & contrast

On white

5.65
#B229A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B229A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229A0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229A0#FFFFFF#000000##FFFFFF
##B229A01.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#5A6E9D
Tritanopia (blue-blind)
#BB3763
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b229a0;
/* rgb */ color: rgb(178, 41, 160);
/* oklch */ color: oklch(54.2% 0.211 334.2);
Tailwind
colors: {
  custom: {
    50: '#cd72bc',
    500: '#b229a0',
    950: '#000000',
  },
}
SCSS
$custom: #b229a0;
$custom-light: #cd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b229a0",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 307.883,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.21117,
    "h": 334.2
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#B229A0
secondary
#70C77B
accent
#E65842
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B229A0

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

Preview Lab → · Contrast checker → · Palette generator →

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