#B249BA#B249BA

#B249BA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.193 H 324.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B249BA
RGBrgb(178, 73, 186)
HSLhsl(296, 45%, 51%)
HSVhsv(296, 61%, 73%)
CMYKcmyk(4.3%, 60.8%, 0%, 27.1%)
CIE-LABlab(49.22, 57.79, -40.09)
CIE-LCHlch(49.22, 70.34, 325.25°)
OKLaboklab(58.69% 0.1575 -0.1111)
OKLCHoklch(58.69% 0.193 324.8)
XYZxyz(29.6048, 17.7769, 48.3168)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249BA #51BA49
analogous
#7949BA #B249BA #BA4989
triadic
#B249BA #BAB249 #49BAB2
tetradic
#B249BA #BA7949 #51BA49 #4989BA
square
#B249BA #BA7949 #51BA49 #4989BA
split-complementary
#B249BA #89BA49 #49BA79
monochromatic
#5F2663 #89368F #B249BA #C575CB #D8A2DC

Accessibility & contrast

On white

4.61
#B249BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B249BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B249BA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249BA#FFFFFF#000000##FFFFFF
##B249BA1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#5D79B7
Tritanopia (blue-blind)
#B6597B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b249ba;
/* rgb */ color: rgb(178, 73, 186);
/* oklch */ color: oklch(58.7% 0.193 324.8);
Tailwind
colors: {
  custom: {
    50: '#cc82cf',
    500: '#b249ba',
    950: '#000000',
  },
}
SCSS
$custom: #b249ba;
$custom-light: #cc82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b249ba",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 295.752,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.19275,
    "h": 324.8
  },
  "luminance": 0.17775
}

Semantic roles & 50–950 ramp

primary
#B249BA
secondary
#9AC896
accent
#D5535C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B249BA

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

Preview Lab → · Contrast checker → · Palette generator →

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