#B229A3#B229A3

#B229A3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.213 H 333.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B229A3
RGBrgb(178, 41, 163)
HSLhsl(307, 63%, 43%)
HSVhsv(307, 77%, 70%)
CMYKcmyk(0%, 77%, 8.4%, 30.2%)
CIE-LABlab(43.80, 65.85, -35.11)
CIE-LCHlch(43.80, 74.63, 331.93°)
OKLaboklab(54.38% 0.1902 -0.0964)
OKLCHoklch(54.38% 0.213 333.1)
XYZxyz(25.7641, 13.6974, 35.9302)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B229A3 #29B238
analogous
#7C29B2 #B229A3 #B2295F
triadic
#B229A3 #A3B229 #29A3B2
tetradic
#B229A3 #B27C29 #29B238 #295FB2
square
#B229A3 #B27C29 #29B238 #295FB2
split-complementary
#B229A3 #5FB229 #29B27C
monochromatic
#4F1248 #801E75 #B229A3 #D444C4 #DF76D4

Accessibility & contrast

On white

5.62
#B229A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B229A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B229A3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B229A3#FFFFFF#000000##FFFFFF
##B229A31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#596EA0
Tritanopia (blue-blind)
#BA3864
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b229a3;
/* rgb */ color: rgb(178, 41, 163);
/* oklch */ color: oklch(54.4% 0.213 333.1);
Tailwind
colors: {
  custom: {
    50: '#cd72be',
    500: '#b229a3',
    950: '#000000',
  },
}
SCSS
$custom: #b229a3;
$custom-light: #cd72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b229a3",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 306.569,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.21327,
    "h": 333.1
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#B229A3
secondary
#70C779
accent
#E65442
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B229A3

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

Preview Lab → · Contrast checker → · Palette generator →

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