#B6299F#B6299F

#B6299F is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.213 H 335.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B6299F
RGBrgb(182, 41, 159)
HSLhsl(310, 63%, 44%)
HSVhsv(310, 77%, 71%)
CMYKcmyk(0%, 77.5%, 12.6%, 28.6%)
CIE-LABlab(44.29, 66.14, -31.90)
CIE-LCHlch(44.29, 73.44, 334.25°)
OKLaboklab(54.8% 0.1939 -0.0871)
OKLCHoklch(54.8% 0.213 335.8)
XYZxyz(26.3428, 14.0366, 34.1161)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6299F #29B640
analogous
#8629B6 #B6299F #B62958
triadic
#B6299F #9FB629 #299FB6
tetradic
#B6299F #B68629 #29B640 #2958B6
square
#B6299F #B68629 #29B640 #2958B6
split-complementary
#B6299F #58B629 #29B686
monochromatic
#521248 #841E73 #B6299F #D547BE #E179D0

Accessibility & contrast

On white

5.52
#B6299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B6299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6299F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6299F#FFFFFF#000000##FFFFFF
##B6299F1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#BF3562
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b6299f;
/* rgb */ color: rgb(182, 41, 159);
/* oklch */ color: oklch(54.8% 0.213 335.8);
Tailwind
colors: {
  custom: {
    50: '#d073bc',
    500: '#b6299f',
    950: '#000000',
  },
}
SCSS
$custom: #b6299f;
$custom-light: #d073bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b6299f",
  "rgb": {
    "r": 182,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 309.787,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.2126,
    "h": 335.8
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#B6299F
secondary
#72C980
accent
#E65C42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B6299F

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

Preview Lab → · Contrast checker → · Palette generator →

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