#B249AF#B249AF

#B249AF is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.183 H 328.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B249AF
RGBrgb(178, 73, 175)
HSLhsl(302, 42%, 49%)
HSVhsv(302, 59%, 70%)
CMYKcmyk(0%, 59%, 1.7%, 30.2%)
CIE-LABlab(48.67, 55.84, -34.54)
CIE-LCHlch(48.67, 65.66, 328.26°)
OKLaboklab(58.1% 0.1566 -0.095)
OKLCHoklch(58.1% 0.183 328.7)
XYZxyz(28.4802, 17.3271, 42.3935)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249AF #49B24C
analogous
#8149B2 #B249AF #B2497B
triadic
#B249AF #AFB249 #49AFB2
tetradic
#B249AF #B28149 #49B24C #497BB2
square
#B249AF #B28149 #49B24C #497BB2
split-complementary
#B249AF #7BB249 #49B281
monochromatic
#5B255A #873784 #B249AF #C573C3 #D79ED6

Accessibility & contrast

On white

4.70
#B249AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B249AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B249AF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249AF#FFFFFF#000000##FFFFFF
##B249AF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#6279AC
Tritanopia (blue-blind)
#B85575
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b249af;
/* rgb */ color: rgb(178, 73, 175);
/* oklch */ color: oklch(58.1% 0.183 328.7);
Tailwind
colors: {
  custom: {
    50: '#cc82c7',
    500: '#b249af',
    950: '#000000',
  },
}
SCSS
$custom: #b249af;
$custom-light: #cc82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b249af",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 301.714,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.18319,
    "h": 328.7
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#B249AF
secondary
#93C494
accent
#D25A56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B249AF

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

Preview Lab → · Contrast checker → · Palette generator →

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