#B248BD#B248BD

#B248BD is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.197 H 323.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B248BD
RGBrgb(178, 72, 189)
HSLhsl(294, 47%, 51%)
HSVhsv(294, 62%, 74%)
CMYKcmyk(5.8%, 61.9%, 0%, 25.9%)
CIE-LABlab(49.22, 58.78, -41.84)
CIE-LCHlch(49.22, 72.15, 324.56°)
OKLaboklab(58.74% 0.1589 -0.1161)
OKLCHoklch(58.74% 0.197 323.8)
XYZxyz(29.8619, 17.7755, 49.9924)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248BD #53BD48
analogous
#7748BD #B248BD #BD488D
triadic
#B248BD #BDB248 #48BDB2
tetradic
#B248BD #BD7748 #53BD48 #488DBD
square
#B248BD #BD7748 #53BD48 #488DBD
split-complementary
#B248BD #8DBD48 #48BD77
monochromatic
#602566 #8A3593 #B248BD #C575CD #D8A2DD

Accessibility & contrast

On white

4.61
#B248BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B248BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B248BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248BD#FFFFFF#000000##FFFFFF
##B248BD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#B5597C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b248bd;
/* rgb */ color: rgb(178, 72, 189);
/* oklch */ color: oklch(58.7% 0.197 323.8);
Tailwind
colors: {
  custom: {
    50: '#cc82d1',
    500: '#b248bd',
    950: '#000000',
  },
}
SCSS
$custom: #b248bd;
$custom-light: #cc82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b248bd",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 294.359,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.19681,
    "h": 323.8
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#B248BD
secondary
#9BCA97
accent
#D7515E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B248BD

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

Preview Lab → · Contrast checker → · Palette generator →

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