#B248AC#B248AC

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

Color values

HEX#B248AC
RGBrgb(178, 72, 172)
HSLhsl(303, 42%, 49%)
HSVhsv(303, 60%, 70%)
CMYKcmyk(0%, 59.6%, 3.4%, 30.2%)
CIE-LABlab(48.36, 55.76, -33.27)
CIE-LCHlch(48.36, 64.93, 329.18°)
OKLaboklab(57.83% 0.1576 -0.0914)
OKLCHoklch(57.83% 0.182 329.9)
XYZxyz(28.1236, 17.0802, 40.8372)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248AC #48B24E
analogous
#8348B2 #B248AC #B24877
triadic
#B248AC #ACB248 #48ACB2
tetradic
#B248AC #B28348 #48B24E #4877B2
square
#B248AC #B28348 #48B24E #4877B2
split-complementary
#B248AC #77B248 #48B283
monochromatic
#5B2558 #863682 #B248AC #C671C1 #D79DD4

Accessibility & contrast

On white

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

On black

4.42
#B248AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B248AC#FFFFFF#000000##FFFFFF
##B248AC1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AAF
Deuteranopia (green-blind)
#6378A9
Tritanopia (blue-blind)
#B85373
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b248ac;
/* rgb */ color: rgb(178, 72, 172);
/* oklch */ color: oklch(57.8% 0.182 329.9);
Tailwind
colors: {
  custom: {
    50: '#cc81c5',
    500: '#b248ac',
    950: '#000000',
  },
}
SCSS
$custom: #b248ac;
$custom-light: #cc81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b248ac",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 303.396,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.18212,
    "h": 329.9
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#B248AC
secondary
#92C495
accent
#D25D56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B248AC

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

Preview Lab → · Contrast checker → · Palette generator →

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