#B248AB#B248AB

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

Color values

HEX#B248AB
RGBrgb(178, 72, 171)
HSLhsl(304, 42%, 49%)
HSVhsv(304, 60%, 70%)
CMYKcmyk(0%, 59.6%, 3.9%, 30.2%)
CIE-LABlab(48.31, 55.59, -32.75)
CIE-LCHlch(48.31, 64.52, 329.50°)
OKLaboklab(57.78% 0.1574 -0.0899)
OKLCHoklch(57.78% 0.181 330.3)
XYZxyz(28.0280, 17.0419, 40.3334)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248AB #48B24F
analogous
#8448B2 #B248AB #B24876
triadic
#B248AB #ABB248 #48ABB2
tetradic
#B248AB #B28448 #48B24F #4876B2
square
#B248AB #B28448 #48B24F #4876B2
split-complementary
#B248AB #76B248 #48B284
monochromatic
#5B2557 #863681 #B248AB #C671C0 #D79DD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B248AB#FFFFFF#000000##FFFFFF
##B248AB1.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)
#4169AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#B85373
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b248ab;
/* rgb */ color: rgb(178, 72, 171);
/* oklch */ color: oklch(57.8% 0.181 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc81c4',
    500: '#b248ab',
    950: '#000000',
  },
}
SCSS
$custom: #b248ab;
$custom-light: #cc81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b248ab",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 303.962,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.18129,
    "h": 330.3
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#B248AB
secondary
#92C495
accent
#D25E56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B248AB

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

Preview Lab → · Contrast checker → · Palette generator →

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