#B249A2#B249A2

#B249A2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.172 H 333.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B249A2
RGBrgb(178, 73, 162)
HSLhsl(309, 42%, 49%)
HSVhsv(309, 59%, 70%)
CMYKcmyk(0%, 59%, 9%, 30.2%)
CIE-LABlab(48.06, 53.64, -27.84)
CIE-LCHlch(48.06, 60.43, 332.57°)
OKLaboklab(57.46% 0.1549 -0.0758)
OKLCHoklch(57.46% 0.172 333.9)
XYZxyz(27.2643, 16.8407, 35.9900)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249A2 #49B259
analogous
#8E49B2 #B249A2 #B2496E
triadic
#B249A2 #A2B249 #49A2B2
tetradic
#B249A2 #B28E49 #49B259 #496EB2
square
#B249A2 #B28E49 #49B259 #496EB2
split-complementary
#B249A2 #6EB249 #49B28E
monochromatic
#5B2553 #87377B #B249A2 #C573B9 #D79ECF

Accessibility & contrast

On white

4.81
#B249A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B249A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B249A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249A2#FFFFFF#000000##FFFFFF
##B249A21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#BA506F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b249a2;
/* rgb */ color: rgb(178, 73, 162);
/* oklch */ color: oklch(57.5% 0.172 333.9);
Tailwind
colors: {
  custom: {
    50: '#cc82be',
    500: '#b249a2',
    950: '#000000',
  },
}
SCSS
$custom: #b249a2;
$custom-light: #cc82be;
$custom-dark: #000000;
JSON
{
  "hex": "#b249a2",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 309.143,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57455,
    "c": 0.17246,
    "h": 333.9
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#B249A2
secondary
#93C49A
accent
#D26956
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B249A2

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

Preview Lab → · Contrast checker → · Palette generator →

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