#B048B0#B048B0

#B048B0 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.184 H 327.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B048B0
RGBrgb(176, 72, 176)
HSLhsl(300, 42%, 49%)
HSVhsv(300, 59%, 69%)
CMYKcmyk(0%, 59.1%, 0%, 31%)
CIE-LABlab(48.26, 55.93, -35.79)
CIE-LCHlch(48.26, 66.40, 327.39°)
OKLaboklab(57.76% 0.1557 -0.0987)
OKLCHoklch(57.76% 0.184 327.6)
XYZxyz(28.0579, 17.0012, 42.8696)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B0 #48B048
analogous
#7C48B0 #B048B0 #B0487C
triadic
#B048B0 #B0B048 #48B0B0
tetradic
#B048B0 #B07C48 #48B048 #487CB0
square
#B048B0 #B07C48 #48B048 #487CB0
split-complementary
#B048B0 #7CB048 #48B07C
monochromatic
#592459 #853685 #B048B0 #C570C5 #D69CD6

Accessibility & contrast

On white

4.77
#B048B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B048B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048B0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B0#FFFFFF#000000##FFFFFF
##B048B01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB3
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#B55575
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b048b0;
/* rgb */ color: rgb(176, 72, 176);
/* oklch */ color: oklch(57.8% 0.184 327.6);
Tailwind
colors: {
  custom: {
    50: '#ca81c8',
    500: '#b048b0',
    950: '#000000',
  },
}
SCSS
$custom: #b048b0;
$custom-light: #ca81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b0",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.18435,
    "h": 327.6
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#B048B0
secondary
#91C391
accent
#D25656
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B0

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

Preview Lab → · Contrast checker → · Palette generator →

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