#B248AE#B248AE

#B248AE is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.184 H 329.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B248AE
RGBrgb(178, 72, 174)
HSLhsl(302, 42%, 49%)
HSVhsv(302, 60%, 70%)
CMYKcmyk(0%, 59.6%, 2.2%, 30.2%)
CIE-LABlab(48.46, 56.11, -34.29)
CIE-LCHlch(48.46, 65.76, 328.57°)
OKLaboklab(57.93% 0.1578 -0.0943)
OKLCHoklch(57.93% 0.184 329.1)
XYZxyz(28.3172, 17.1576, 41.8565)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248AE #48B24C
analogous
#8148B2 #B248AE #B24879
triadic
#B248AE #AEB248 #48AEB2
tetradic
#B248AE #B28148 #48B24C #4879B2
square
#B248AE #B28148 #48B24C #4879B2
split-complementary
#B248AE #79B248 #48B281
monochromatic
#5B2559 #863683 #B248AE #C671C3 #D79DD5

Accessibility & contrast

On white

4.74
#B248AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B248AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248AE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248AE#FFFFFF#000000##FFFFFF
##B248AE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#B85474
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b248ae;
/* rgb */ color: rgb(178, 72, 174);
/* oklch */ color: oklch(57.9% 0.184 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc81c6',
    500: '#b248ae',
    950: '#000000',
  },
}
SCSS
$custom: #b248ae;
$custom-light: #cc81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b248ae",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 302.264,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.1838,
    "h": 329.1
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B248AE

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

Preview Lab → · Contrast checker → · Palette generator →

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