#B248B8#B248B8

#B248B8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.192 H 325.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B248B8
RGBrgb(178, 72, 184)
HSLhsl(297, 44%, 50%)
HSVhsv(297, 61%, 72%)
CMYKcmyk(3.3%, 60.9%, 0%, 27.8%)
CIE-LABlab(48.96, 57.87, -39.35)
CIE-LCHlch(48.96, 69.98, 325.79°)
OKLaboklab(58.46% 0.1586 -0.1089)
OKLCHoklch(58.46% 0.192 325.5)
XYZxyz(29.3286, 17.5621, 47.1831)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248B8 #4EB848
analogous
#7A48B8 #B248B8 #B84886
triadic
#B248B8 #B8B248 #48B8B2
tetradic
#B248B8 #B87A48 #4EB848 #4886B8
square
#B248B8 #B87A48 #4EB848 #4886B8
split-complementary
#B248B8 #86B848 #48B87A
monochromatic
#5D2560 #88368C #B248B8 #C574C9 #D7A0DA

Accessibility & contrast

On white

4.65
#B248B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B248B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B248B8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248B8#FFFFFF#000000##FFFFFF
##B248B81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376CBB
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#B65779
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b248b8;
/* rgb */ color: rgb(178, 72, 184);
/* oklch */ color: oklch(58.5% 0.192 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc82ce',
    500: '#b248b8',
    950: '#000000',
  },
}
SCSS
$custom: #b248b8;
$custom-light: #cc82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b248b8",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 296.786,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.19241,
    "h": 325.5
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#B248B8
secondary
#98C795
accent
#D4545B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B248B8

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

Preview Lab → · Contrast checker → · Palette generator →

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