#B229A5#B229A5

#B229A5 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.215 H 332.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B229A5
RGBrgb(178, 41, 165)
HSLhsl(306, 63%, 43%)
HSVhsv(306, 77%, 70%)
CMYKcmyk(0%, 77%, 7.3%, 30.2%)
CIE-LABlab(43.90, 66.15, -36.14)
CIE-LCHlch(43.90, 75.38, 331.35°)
OKLaboklab(54.49% 0.1903 -0.0994)
OKLCHoklch(54.49% 0.215 332.4)
XYZxyz(25.9447, 13.7697, 36.8814)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229A5 #29B236
analogous
#7A29B2 #B229A5 #B22961
triadic
#B229A5 #A5B229 #29A5B2
tetradic
#B229A5 #B27A29 #29B236 #2961B2
square
#B229A5 #B27A29 #29B236 #2961B2
split-complementary
#B229A5 #61B229 #29B27A
monochromatic
#4F1249 #801E77 #B229A5 #D444C6 #DF76D5

Accessibility & contrast

On white

5.59
#B229A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B229A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229A5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229A5#FFFFFF#000000##FFFFFF
##B229A51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#BA3966
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b229a5;
/* rgb */ color: rgb(178, 41, 165);
/* oklch */ color: oklch(54.5% 0.215 332.4);
Tailwind
colors: {
  custom: {
    50: '#cd73c0',
    500: '#b229a5',
    950: '#000000',
  },
}
SCSS
$custom: #b229a5;
$custom-light: #cd73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b229a5",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 305.693,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.21471,
    "h": 332.4
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#B229A5
secondary
#70C778
accent
#E65242
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B229A5

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

Preview Lab → · Contrast checker → · Palette generator →

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