#B048B5#B048B5

#B048B5 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.189 H 325.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B048B5
RGBrgb(176, 72, 181)
HSLhsl(297, 43%, 50%)
HSVhsv(297, 60%, 71%)
CMYKcmyk(2.8%, 60.2%, 0%, 29%)
CIE-LABlab(48.51, 56.82, -38.32)
CIE-LCHlch(48.51, 68.54, 326.01°)
OKLaboklab(58.03% 0.1561 -0.106)
OKLCHoklch(58.03% 0.189 325.8)
XYZxyz(28.5618, 17.2027, 45.5232)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B5 #4DB548
analogous
#7A48B5 #B048B5 #B54883
triadic
#B048B5 #B5B048 #48B5B0
tetradic
#B048B5 #B57A48 #4DB548 #4883B5
square
#B048B5 #B57A48 #4DB548 #4883B5
split-complementary
#B048B5 #83B548 #48B57A
monochromatic
#5B255D #853789 #B048B5 #C373C7 #D69FD9

Accessibility & contrast

On white

4.73
#B048B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B048B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048B5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B5#FFFFFF#000000##FFFFFF
##B048B51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#5D78B2
Tritanopia (blue-blind)
#B45778
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b048b5;
/* rgb */ color: rgb(176, 72, 181);
/* oklch */ color: oklch(58.0% 0.189 325.8);
Tailwind
colors: {
  custom: {
    50: '#ca81cb',
    500: '#b048b5',
    950: '#000000',
  },
}
SCSS
$custom: #b048b5;
$custom-light: #ca81cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b5",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 297.248,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.18871,
    "h": 325.8
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#B048B5
secondary
#96C593
accent
#D3555B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B5

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

Preview Lab → · Contrast checker → · Palette generator →

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