#B249AB#B249AB

#B249AB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.180 H 330.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B249AB
RGBrgb(178, 73, 171)
HSLhsl(304, 42%, 49%)
HSVhsv(304, 59%, 70%)
CMYKcmyk(0%, 59%, 3.9%, 30.2%)
CIE-LABlab(48.48, 55.15, -32.50)
CIE-LCHlch(48.48, 64.01, 329.49°)
OKLaboklab(57.9% 0.1562 -0.0892)
OKLCHoklch(57.9% 0.18 330.3)
XYZxyz(28.0931, 17.1722, 40.3551)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249AB #49B250
analogous
#8549B2 #B249AB #B24977
triadic
#B249AB #ABB249 #49ABB2
tetradic
#B249AB #B28549 #49B250 #4977B2
square
#B249AB #B28549 #49B250 #4977B2
split-complementary
#B249AB #77B249 #49B285
monochromatic
#5B2558 #873781 #B249AB #C573C0 #D79ED3

Accessibility & contrast

On white

4.74
#B249AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B249AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B249AB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249AB#FFFFFF#000000##FFFFFF
##B249AB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#B85373
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b249ab;
/* rgb */ color: rgb(178, 73, 171);
/* oklch */ color: oklch(57.9% 0.180 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc82c4',
    500: '#b249ab',
    950: '#000000',
  },
}
SCSS
$custom: #b249ab;
$custom-light: #cc82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b249ab",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 304,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.17981,
    "h": 330.3
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#B249AB
secondary
#93C496
accent
#D25E56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B249AB

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

Preview Lab → · Contrast checker → · Palette generator →

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