#B048B2#B048B2

#B048B2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.186 H 326.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B048B2
RGBrgb(176, 72, 178)
HSLhsl(299, 42%, 49%)
HSVhsv(299, 60%, 70%)
CMYKcmyk(1.1%, 59.6%, 0%, 30.2%)
CIE-LABlab(48.36, 56.29, -36.80)
CIE-LCHlch(48.36, 67.25, 326.82°)
OKLaboklab(57.87% 0.1559 -0.1016)
OKLCHoklch(57.87% 0.186 326.9)
XYZxyz(28.2573, 17.0809, 43.9194)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B2 #4AB248
analogous
#7B48B2 #B048B2 #B2487F
triadic
#B048B2 #B2B048 #48B2B0
tetradic
#B048B2 #B27B48 #4AB248 #487FB2
square
#B048B2 #B27B48 #4AB248 #487FB2
split-complementary
#B048B2 #7FB248 #48B27B
monochromatic
#5A255B #853686 #B048B2 #C471C6 #D69DD7

Accessibility & contrast

On white

4.76
#B048B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B048B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B2#FFFFFF#000000##FFFFFF
##B048B21.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#B55676
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b048b2;
/* rgb */ color: rgb(176, 72, 178);
/* oklch */ color: oklch(57.9% 0.186 326.9);
Tailwind
colors: {
  custom: {
    50: '#ca81c9',
    500: '#b048b2',
    950: '#000000',
  },
}
SCSS
$custom: #b048b2;
$custom-light: #ca81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b2",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 298.868,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57866,
    "c": 0.18608,
    "h": 326.9
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#B048B2
secondary
#93C492
accent
#D25658
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B2

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

Preview Lab → · Contrast checker → · Palette generator →

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