#B248BF#B248BF

#B248BF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.199 H 323.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B248BF
RGBrgb(178, 72, 191)
HSLhsl(293, 48%, 52%)
HSVhsv(293, 62%, 75%)
CMYKcmyk(6.8%, 62.3%, 0%, 25.1%)
CIE-LABlab(49.33, 59.14, -42.83)
CIE-LCHlch(49.33, 73.02, 324.09°)
OKLaboklab(58.85% 0.159 -0.119)
OKLCHoklch(58.85% 0.199 323.2)
XYZxyz(30.0805, 17.8629, 51.1436)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248BF #55BF48
analogous
#7748BF #B248BF #BF4891
triadic
#B248BF #BFB248 #48BFB2
tetradic
#B248BF #BF7748 #55BF48 #4891BF
square
#B248BF #BF7748 #55BF48 #4891BF
split-complementary
#B248BF #91BF48 #48BF77
monochromatic
#612468 #8B3496 #B248BF #C575CF #D8A3DF

Accessibility & contrast

On white

4.59
#B248BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B248BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B248BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248BF#FFFFFF#000000##FFFFFF
##B248BF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC3
Deuteranopia (green-blind)
#597ABC
Tritanopia (blue-blind)
#B55A7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b248bf;
/* rgb */ color: rgb(178, 72, 191);
/* oklch */ color: oklch(58.8% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#cc82d3',
    500: '#b248bf',
    950: '#000000',
  },
}
SCSS
$custom: #b248bf;
$custom-light: #cc82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b248bf",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 293.445,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58848,
    "c": 0.19859,
    "h": 323.2
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#B248BF
secondary
#9DCC97
accent
#D8505F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B248BF

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

Preview Lab → · Contrast checker → · Palette generator →

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