#B048B6#B048B6

#B048B6 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.190 H 325.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B048B6
RGBrgb(176, 72, 182)
HSLhsl(297, 43%, 50%)
HSVhsv(297, 60%, 71%)
CMYKcmyk(3.3%, 60.4%, 0%, 28.6%)
CIE-LABlab(48.57, 57.00, -38.82)
CIE-LCHlch(48.57, 68.97, 325.74°)
OKLaboklab(58.08% 0.1562 -0.1074)
OKLCHoklch(58.08% 0.19 325.5)
XYZxyz(28.6647, 17.2439, 46.0655)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B6 #4EB648
analogous
#7948B6 #B048B6 #B64885
triadic
#B048B6 #B6B048 #48B6B0
tetradic
#B048B6 #B67948 #4EB648 #4885B6
square
#B048B6 #B67948 #4EB648 #4885B6
split-complementary
#B048B6 #85B648 #48B679
monochromatic
#5B255E #86378A #B048B6 #C373C8 #D69FD9

Accessibility & contrast

On white

4.72
#B048B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B048B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048B6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B6#FFFFFF#000000##FFFFFF
##B048B61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BB9
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#B45778
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b048b6;
/* rgb */ color: rgb(176, 72, 182);
/* oklch */ color: oklch(58.1% 0.190 325.5);
Tailwind
colors: {
  custom: {
    50: '#ca81cc',
    500: '#b048b6',
    950: '#000000',
  },
}
SCSS
$custom: #b048b6;
$custom-light: #ca81cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b6",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 182
  },
  "hsl": {
    "h": 296.727,
    "s": 43.307,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.18958,
    "h": 325.5
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#B048B6
secondary
#97C694
accent
#D3555C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B6

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

Preview Lab → · Contrast checker → · Palette generator →

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