#B229B3#B229B3

#B229B3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.225 H 327.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B229B3
RGBrgb(178, 41, 179)
HSLhsl(300, 63%, 43%)
HSVhsv(300, 77%, 70%)
CMYKcmyk(0.6%, 77.1%, 0%, 29.8%)
CIE-LABlab(44.67, 68.34, -43.22)
CIE-LCHlch(44.67, 80.86, 327.69°)
OKLaboklab(55.29% 0.1903 -0.1199)
OKLCHoklch(55.29% 0.225 327.8)
XYZxyz(27.2894, 14.3075, 43.9634)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229B3 #2AB329
analogous
#6D29B3 #B229B3 #B3296F
triadic
#B229B3 #B3B229 #29B3B2
tetradic
#B229B3 #B36D29 #2AB329 #296FB3
square
#B229B3 #B36D29 #2AB329 #296FB3
split-complementary
#B229B3 #6FB329 #29B36D
monochromatic
#4F124F #801E81 #B229B3 #D345D4 #DF77E0

Accessibility & contrast

On white

5.44
#B229B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B229B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229B3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229B3#FFFFFF#000000##FFFFFF
##B229B31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#B8416E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b229b3;
/* rgb */ color: rgb(178, 41, 179);
/* oklch */ color: oklch(55.3% 0.225 327.8);
Tailwind
colors: {
  custom: {
    50: '#cd73ca',
    500: '#b229b3',
    950: '#000000',
  },
}
SCSS
$custom: #b229b3;
$custom-light: #cd73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b229b3",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 299.565,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55287,
    "c": 0.22493,
    "h": 327.8
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#B229B3
secondary
#71C770
accent
#E64243
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B229B3

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

Preview Lab → · Contrast checker → · Palette generator →

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