#B048BA#B048BA

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

Color values

HEX#B048BA
RGBrgb(176, 72, 186)
HSLhsl(295, 45%, 51%)
HSVhsv(295, 61%, 73%)
CMYKcmyk(5.4%, 61.3%, 0%, 27.1%)
CIE-LABlab(48.77, 57.73, -40.82)
CIE-LCHlch(48.77, 70.71, 324.73°)
OKLaboklab(58.3% 0.1564 -0.1132)
OKLCHoklch(58.3% 0.193 324.1)
XYZxyz(29.0840, 17.4116, 48.2737)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048BA #52BA48
analogous
#7748BA #B048BA #BA488B
triadic
#B048BA #BAB048 #48BAB0
tetradic
#B048BA #BA7748 #52BA48 #488BBA
square
#B048BA #BA7748 #52BA48 #488BBA
split-complementary
#B048BA #8BBA48 #48BA77
monochromatic
#5D2562 #87368F #B048BA #C374CB #D6A1DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B048BA#FFFFFF#000000##FFFFFF
##B048BA1.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)
#346CBD
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#B3597A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b048ba;
/* rgb */ color: rgb(176, 72, 186);
/* oklch */ color: oklch(58.3% 0.193 324.1);
Tailwind
colors: {
  custom: {
    50: '#cb82cf',
    500: '#b048ba',
    950: '#000000',
  },
}
SCSS
$custom: #b048ba;
$custom-light: #cb82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b048ba",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 294.737,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.583,
    "c": 0.19313,
    "h": 324.1
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#B048BA
secondary
#9AC896
accent
#D5535E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B048BA

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

Preview Lab → · Contrast checker → · Palette generator →

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