#B248AD#B248AD

#B248AD is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.183 H 329.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B248AD
RGBrgb(178, 72, 173)
HSLhsl(303, 42%, 49%)
HSVhsv(303, 60%, 70%)
CMYKcmyk(0%, 59.6%, 2.8%, 30.2%)
CIE-LABlab(48.41, 55.94, -33.78)
CIE-LCHlch(48.41, 65.34, 328.87°)
OKLaboklab(57.88% 0.1577 -0.0928)
OKLCHoklch(57.88% 0.183 329.5)
XYZxyz(28.2200, 17.1187, 41.3449)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248AD #48B24D
analogous
#8248B2 #B248AD #B24878
triadic
#B248AD #ADB248 #48ADB2
tetradic
#B248AD #B28248 #48B24D #4878B2
square
#B248AD #B28248 #48B24D #4878B2
split-complementary
#B248AD #78B248 #48B282
monochromatic
#5B2558 #863683 #B248AD #C671C2 #D79DD5

Accessibility & contrast

On white

4.75
#B248AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B248AD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248AD#FFFFFF#000000##FFFFFF
##B248AD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB0
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#B85374
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b248ad;
/* rgb */ color: rgb(178, 72, 173);
/* oklch */ color: oklch(57.9% 0.183 329.5);
Tailwind
colors: {
  custom: {
    50: '#cc81c6',
    500: '#b248ad',
    950: '#000000',
  },
}
SCSS
$custom: #b248ad;
$custom-light: #cc81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b248ad",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 302.83,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.18296,
    "h": 329.5
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B248AD

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

Preview Lab → · Contrast checker → · Palette generator →

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