#B048B3#B048B3

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

Color values

HEX#B048B3
RGBrgb(176, 72, 179)
HSLhsl(298, 43%, 49%)
HSVhsv(298, 60%, 70%)
CMYKcmyk(1.7%, 59.8%, 0%, 29.8%)
CIE-LABlab(48.41, 56.47, -37.31)
CIE-LCHlch(48.41, 67.68, 326.54°)
OKLaboklab(57.92% 0.156 -0.1031)
OKLCHoklch(57.92% 0.187 326.5)
XYZxyz(28.3580, 17.1212, 44.4501)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048B3 #4BB348
analogous
#7B48B3 #B048B3 #B34881
triadic
#B048B3 #B3B048 #48B3B0
tetradic
#B048B3 #B37B48 #4BB348 #4881B3
square
#B048B3 #B37B48 #4BB348 #4881B3
split-complementary
#B048B3 #81B348 #48B37B
monochromatic
#5A255C #853687 #B048B3 #C472C6 #D69ED8

Accessibility & contrast

On white

4.75
#B048B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B048B3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048B3#FFFFFF#000000##FFFFFF
##B048B31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB6
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#B55677
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b048b3;
/* rgb */ color: rgb(176, 72, 179);
/* oklch */ color: oklch(57.9% 0.187 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca81ca',
    500: '#b048b3',
    950: '#000000',
  },
}
SCSS
$custom: #b048b3;
$custom-light: #ca81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b048b3",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 298.318,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.18695,
    "h": 326.5
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#B048B3
secondary
#94C492
accent
#D25559
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048B3

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

Preview Lab → · Contrast checker → · Palette generator →

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