#B248B4#B248B4

#B248B4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.189 H 326.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B248B4
RGBrgb(178, 72, 180)
HSLhsl(299, 43%, 49%)
HSVhsv(299, 60%, 71%)
CMYKcmyk(1.1%, 60%, 0%, 29.4%)
CIE-LABlab(48.76, 57.16, -37.33)
CIE-LCHlch(48.76, 68.27, 326.85°)
OKLaboklab(58.25% 0.1583 -0.1031)
OKLCHoklch(58.25% 0.189 326.9)
XYZxyz(28.9152, 17.3968, 45.0061)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248B4 #4AB448
analogous
#7C48B4 #B248B4 #B44880
triadic
#B248B4 #B4B248 #48B4B2
tetradic
#B248B4 #B47C48 #4AB448 #4880B4
square
#B248B4 #B47C48 #4AB448 #4880B4
split-complementary
#B248B4 #80B448 #48B47C
monochromatic
#5C255D #873788 #B248B4 #C572C7 #D79ED8

Accessibility & contrast

On white

4.69
#B248B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B248B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B248B4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248B4#FFFFFF#000000##FFFFFF
##B248B41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#5F79B1
Tritanopia (blue-blind)
#B75677
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b248b4;
/* rgb */ color: rgb(178, 72, 180);
/* oklch */ color: oklch(58.2% 0.189 326.9);
Tailwind
colors: {
  custom: {
    50: '#cc82cb',
    500: '#b248b4',
    950: '#000000',
  },
}
SCSS
$custom: #b248b4;
$custom-light: #cc82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b248b4",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 298.889,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.18893,
    "h": 326.9
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#B248B4
secondary
#94C593
accent
#D35557
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B248B4

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

Preview Lab → · Contrast checker → · Palette generator →

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