#B249A7#B249A7

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

Color values

HEX#B249A7
RGBrgb(178, 73, 167)
HSLhsl(306, 42%, 49%)
HSVhsv(306, 59%, 70%)
CMYKcmyk(0%, 59%, 6.2%, 30.2%)
CIE-LABlab(48.29, 54.47, -30.44)
CIE-LCHlch(48.29, 62.39, 330.80°)
OKLaboklab(57.7% 0.1556 -0.0832)
OKLCHoklch(57.7% 0.177 331.9)
XYZxyz(27.7176, 17.0220, 38.3774)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249A7 #49B254
analogous
#8949B2 #B249A7 #B24973
triadic
#B249A7 #A7B249 #49A7B2
tetradic
#B249A7 #B28949 #49B254 #4973B2
square
#B249A7 #B28949 #49B254 #4973B2
split-complementary
#B249A7 #73B249 #49B289
monochromatic
#5B2556 #87377E #B249A7 #C573BD #D79ED1

Accessibility & contrast

On white

4.77
#B249A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B249A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B249A7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249A7#FFFFFF#000000##FFFFFF
##B249A71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569AA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#B95271
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b249a7;
/* rgb */ color: rgb(178, 73, 167);
/* oklch */ color: oklch(57.7% 0.177 331.9);
Tailwind
colors: {
  custom: {
    50: '#cc82c1',
    500: '#b249a7',
    950: '#000000',
  },
}
SCSS
$custom: #b249a7;
$custom-light: #cc82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b249a7",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 306.286,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.17651,
    "h": 331.9
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B249A7

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

Preview Lab → · Contrast checker → · Palette generator →

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