#B048B4#B048B4

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

Color values

HEX#B048B4
RGBrgb(176, 72, 180)
HSLhsl(298, 43%, 49%)
HSVhsv(298, 60%, 71%)
CMYKcmyk(2.2%, 60%, 0%, 29.4%)
CIE-LABlab(48.46, 56.64, -37.81)
CIE-LCHlch(48.46, 68.11, 326.27°)
OKLaboklab(57.97% 0.1561 -0.1045)
OKLCHoklch(57.97% 0.188 326.2)
XYZxyz(28.4595, 17.1618, 44.9847)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B4 #4CB448
analogous
#7A48B4 #B048B4 #B44882
triadic
#B048B4 #B4B048 #48B4B0
tetradic
#B048B4 #B47A48 #4CB448 #4882B4
square
#B048B4 #B47A48 #4CB448 #4882B4
split-complementary
#B048B4 #82B448 #48B47A
monochromatic
#5B255D #853788 #B048B4 #C472C7 #D69ED8

Accessibility & contrast

On white

4.74
#B048B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B048B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048B4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B4#FFFFFF#000000##FFFFFF
##B048B41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB7
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#B45677
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b048b4;
/* rgb */ color: rgb(176, 72, 180);
/* oklch */ color: oklch(58.0% 0.188 326.2);
Tailwind
colors: {
  custom: {
    50: '#ca81cb',
    500: '#b048b4',
    950: '#000000',
  },
}
SCSS
$custom: #b048b4;
$custom-light: #ca81cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b4",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 297.778,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.18782,
    "h": 326.2
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#B048B4
secondary
#95C593
accent
#D3555A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B4

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

Preview Lab → · Contrast checker → · Palette generator →

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