#B249A8#B249A8

#B249A8 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.177 H 331.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B249A8
RGBrgb(178, 73, 168)
HSLhsl(306, 42%, 49%)
HSVhsv(306, 59%, 70%)
CMYKcmyk(0%, 59%, 5.6%, 30.2%)
CIE-LABlab(48.33, 54.64, -30.95)
CIE-LCHlch(48.33, 62.79, 330.47°)
OKLaboklab(57.75% 0.1558 -0.0847)
OKLCHoklch(57.75% 0.177 331.5)
XYZxyz(27.8104, 17.0592, 38.8662)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249A8 #49B253
analogous
#8849B2 #B249A8 #B24974
triadic
#B249A8 #A8B249 #49A8B2
tetradic
#B249A8 #B28849 #49B253 #4974B2
square
#B249A8 #B28849 #49B253 #4974B2
split-complementary
#B249A8 #74B249 #49B288
monochromatic
#5B2556 #87377F #B249A8 #C573BE #D79ED2

Accessibility & contrast

On white

4.76
#B249A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B249A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B249A8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249A8#FFFFFF#000000##FFFFFF
##B249A81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#B95272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b249a8;
/* rgb */ color: rgb(178, 73, 168);
/* oklch */ color: oklch(57.7% 0.177 331.5);
Tailwind
colors: {
  custom: {
    50: '#cc82c2',
    500: '#b249a8',
    950: '#000000',
  },
}
SCSS
$custom: #b249a8;
$custom-light: #cc82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b249a8",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 168
  },
  "hsl": {
    "h": 305.714,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.17732,
    "h": 331.5
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#B249A8
secondary
#93C498
accent
#D26256
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B249A8

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

Preview Lab → · Contrast checker → · Palette generator →

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