#B248AA#B248AA

#B248AA is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.180 H 330.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B248AA
RGBrgb(178, 72, 170)
HSLhsl(305, 42%, 49%)
HSVhsv(305, 60%, 70%)
CMYKcmyk(0%, 59.6%, 4.5%, 30.2%)
CIE-LABlab(48.26, 55.42, -32.24)
CIE-LCHlch(48.26, 64.12, 329.81°)
OKLaboklab(57.73% 0.1573 -0.0884)
OKLCHoklch(57.73% 0.18 330.7)
XYZxyz(27.9330, 17.0039, 39.8333)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248AA #48B250
analogous
#8548B2 #B248AA #B24875
triadic
#B248AA #AAB248 #48AAB2
tetradic
#B248AA #B28548 #48B250 #4875B2
square
#B248AA #B28548 #48B250 #4875B2
split-complementary
#B248AA #75B248 #48B285
monochromatic
#5B2557 #863680 #B248AA #C671BF #D79DD3

Accessibility & contrast

On white

4.77
#B248AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B248AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248AA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248AA#FFFFFF#000000##FFFFFF
##B248AA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#B85272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b248aa;
/* rgb */ color: rgb(178, 72, 170);
/* oklch */ color: oklch(57.7% 0.180 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc81c3',
    500: '#b248aa',
    950: '#000000',
  },
}
SCSS
$custom: #b248aa;
$custom-light: #cc81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b248aa",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 304.528,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.18046,
    "h": 330.7
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#B248AA
secondary
#92C496
accent
#D25F56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B248AA

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

Preview Lab → · Contrast checker → · Palette generator →

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