#B248BB#B248BB

#B248BB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.195 H 324.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B248BB
RGBrgb(178, 72, 187)
HSLhsl(295, 46%, 51%)
HSVhsv(295, 61%, 73%)
CMYKcmyk(4.8%, 61.5%, 0%, 26.7%)
CIE-LABlab(49.12, 58.41, -40.84)
CIE-LCHlch(49.12, 71.28, 325.04°)
OKLaboklab(58.63% 0.1588 -0.1133)
OKLCHoklch(58.63% 0.195 324.5)
XYZxyz(29.6464, 17.6893, 48.8569)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B248BB #51BB48
analogous
#7848BB #B248BB #BB488A
triadic
#B248BB #BBB248 #48BBB2
tetradic
#B248BB #BB7848 #51BB48 #488ABB
square
#B248BB #BB7848 #51BB48 #488ABB
split-complementary
#B248BB #8ABB48 #48BB78
monochromatic
#5F2564 #893690 #B248BB #C575CC #D8A1DC

Accessibility & contrast

On white

4.63
#B248BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B248BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B248BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B248BB#FFFFFF#000000##FFFFFF
##B248BB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#5C79B8
Tritanopia (blue-blind)
#B6597B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b248bb;
/* rgb */ color: rgb(178, 72, 187);
/* oklch */ color: oklch(58.6% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#cc82d0',
    500: '#b248bb',
    950: '#000000',
  },
}
SCSS
$custom: #b248bb;
$custom-light: #cc82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b248bb",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 295.304,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.19504,
    "h": 324.5
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#B248BB
secondary
#9AC996
accent
#D5525D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B248BB

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

Preview Lab → · Contrast checker → · Palette generator →

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