#B829AF#B829AF

#B829AF is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.225 H 331.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B829AF
RGBrgb(184, 41, 175)
HSLhsl(304, 64%, 44%)
HSVhsv(304, 78%, 72%)
CMYKcmyk(0%, 77.7%, 4.9%, 27.8%)
CIE-LABlab(45.46, 68.95, -39.54)
CIE-LCHlch(45.46, 79.48, 330.17°)
OKLaboklab(55.97% 0.1965 -0.1091)
OKLCHoklch(55.97% 0.225 331)
XYZxyz(28.2979, 14.8737, 41.9296)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B829AF #29B832
analogous
#7A29B8 #B829AF #B82968
triadic
#B829AF #AFB829 #29AFB8
tetradic
#B829AF #B87A29 #29B832 #2968B8
square
#B829AF #B87A29 #29B832 #2968B8
split-complementary
#B829AF #68B829 #29B87A
monochromatic
#541350 #861E7F #B829AF #D648CD #E17ADB

Accessibility & contrast

On white

5.28
#B829AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B829AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B829AF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B829AF#FFFFFF#000000##FFFFFF
##B829AF1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB3
Deuteranopia (green-blind)
#5872AC
Tritanopia (blue-blind)
#BF3D6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b829af;
/* rgb */ color: rgb(184, 41, 175);
/* oklch */ color: oklch(56.0% 0.225 331.0);
Tailwind
colors: {
  custom: {
    50: '#d174c7',
    500: '#b829af',
    950: '#000000',
  },
}
SCSS
$custom: #b829af;
$custom-light: #d174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b829af",
  "rgb": {
    "r": 184,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 303.776,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.22478,
    "h": 331
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#B829AF
secondary
#73C979
accent
#E74C41
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B829AF

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

Preview Lab → · Contrast checker → · Palette generator →

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