#B048B7#B048B7

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

Color values

HEX#B048B7
RGBrgb(176, 72, 183)
HSLhsl(296, 44%, 50%)
HSVhsv(296, 61%, 72%)
CMYKcmyk(3.8%, 60.7%, 0%, 28.2%)
CIE-LABlab(48.62, 57.18, -39.32)
CIE-LCHlch(48.62, 69.40, 325.49°)
OKLaboklab(58.14% 0.1563 -0.1089)
OKLCHoklch(58.14% 0.19 325.1)
XYZxyz(28.7684, 17.2854, 46.6117)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B7 #4FB748
analogous
#7848B7 #B048B7 #B74887
triadic
#B048B7 #B7B048 #48B7B0
tetradic
#B048B7 #B77848 #4FB748 #4887B7
square
#B048B7 #B77848 #4FB748 #4887B7
split-complementary
#B048B7 #87B748 #48B778
monochromatic
#5C255F #86378B #B048B7 #C374C8 #D6A0DA

Accessibility & contrast

On white

4.71
#B048B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B048B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048B7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B7#FFFFFF#000000##FFFFFF
##B048B71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366BBA
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#B45779
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b048b7;
/* rgb */ color: rgb(176, 72, 183);
/* oklch */ color: oklch(58.1% 0.190 325.1);
Tailwind
colors: {
  custom: {
    50: '#ca81cd',
    500: '#b048b7',
    950: '#000000',
  },
}
SCSS
$custom: #b048b7;
$custom-light: #ca81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b7",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 296.216,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.19046,
    "h": 325.1
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#B048B7
secondary
#98C695
accent
#D3555D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B7

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

Preview Lab → · Contrast checker → · Palette generator →

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