#B248A4#B248A4

#B248A4 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.176 H 333.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B248A4
RGBrgb(178, 72, 164)
HSLhsl(308, 42%, 49%)
HSVhsv(308, 60%, 70%)
CMYKcmyk(0%, 59.6%, 7.9%, 30.2%)
CIE-LABlab(47.98, 54.42, -29.14)
CIE-LCHlch(47.98, 61.73, 331.83°)
OKLaboklab(57.43% 0.1565 -0.0795)
OKLCHoklch(57.43% 0.176 333.1)
XYZxyz(27.3783, 16.7821, 36.9120)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248A4 #48B256
analogous
#8B48B2 #B248A4 #B2486F
triadic
#B248A4 #A4B248 #48A4B2
tetradic
#B248A4 #B28B48 #48B256 #486FB2
square
#B248A4 #B28B48 #48B256 #486FB2
split-complementary
#B248A4 #6FB248 #48B28B
monochromatic
#5B2554 #86367C #B248A4 #C671BB #D79DD0

Accessibility & contrast

On white

4.82
#B248A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B248A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248A4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248A4#FFFFFF#000000##FFFFFF
##B248A41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A7
Deuteranopia (green-blind)
#6777A1
Tritanopia (blue-blind)
#B9506F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b248a4;
/* rgb */ color: rgb(178, 72, 164);
/* oklch */ color: oklch(57.4% 0.176 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc81bf',
    500: '#b248a4',
    950: '#000000',
  },
}
SCSS
$custom: #b248a4;
$custom-light: #cc81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b248a4",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 307.925,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.17556,
    "h": 333.1
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#B248A4
secondary
#92C499
accent
#D26656
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B248A4

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

Preview Lab → · Contrast checker → · Palette generator →

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