#B248BC#B248BC

#B248BC is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.7% C 0.196 H 324.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B248BC
RGBrgb(178, 72, 188)
HSLhsl(295, 46%, 51%)
HSVhsv(295, 62%, 74%)
CMYKcmyk(5.3%, 61.7%, 0%, 26.3%)
CIE-LABlab(49.17, 58.59, -41.34)
CIE-LCHlch(49.17, 71.71, 324.79°)
OKLaboklab(58.68% 0.1589 -0.1147)
OKLCHoklch(58.68% 0.196 324.2)
XYZxyz(29.7538, 17.7322, 49.4227)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248BC #52BC48
analogous
#7848BC #B248BC #BC488C
triadic
#B248BC #BCB248 #48BCB2
tetradic
#B248BC #BC7848 #52BC48 #488CBC
square
#B248BC #BC7848 #52BC48 #488CBC
split-complementary
#B248BC #8CBC48 #48BC78
monochromatic
#5F2565 #8A3592 #B248BC #C575CC #D8A2DD

Accessibility & contrast

On white

4.62
#B248BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B248BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248BC#FFFFFF#000000##FFFFFF
##B248BC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#B5597B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b248bc;
/* rgb */ color: rgb(178, 72, 188);
/* oklch */ color: oklch(58.7% 0.196 324.2);
Tailwind
colors: {
  custom: {
    50: '#cc82d0',
    500: '#b248bc',
    950: '#000000',
  },
}
SCSS
$custom: #b248bc;
$custom-light: #cc82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b248bc",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 294.828,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5868,
    "c": 0.19593,
    "h": 324.2
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#B248BC
secondary
#9BCA96
accent
#D6525D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B248BC

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

Preview Lab → · Contrast checker → · Palette generator →

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