#B048A2#B048A2

#B048A2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.173 H 333.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B048A2
RGBrgb(176, 72, 162)
HSLhsl(308, 42%, 49%)
HSVhsv(308, 59%, 69%)
CMYKcmyk(0%, 59.1%, 8%, 31%)
CIE-LABlab(47.59, 53.54, -28.59)
CIE-LCHlch(47.59, 60.69, 331.90°)
OKLaboklab(57.05% 0.154 -0.078)
OKLCHoklch(57.05% 0.173 333.1)
XYZxyz(26.7435, 16.4754, 35.9469)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048A2 #48B056
analogous
#8A48B0 #B048A2 #B0486E
triadic
#B048A2 #A2B048 #48A2B0
tetradic
#B048A2 #B08A48 #48B056 #486EB0
square
#B048A2 #B08A48 #48B056 #486EB0
split-complementary
#B048A2 #6EB048 #48B08A
monochromatic
#592452 #85367A #B048A2 #C570B9 #D69CCF

Accessibility & contrast

On white

4.89
#B048A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B048A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048A2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048A2#FFFFFF#000000##FFFFFF
##B048A21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#B7506E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b048a2;
/* rgb */ color: rgb(176, 72, 162);
/* oklch */ color: oklch(57.1% 0.173 333.1);
Tailwind
colors: {
  custom: {
    50: '#ca81be',
    500: '#b048a2',
    950: '#000000',
  },
}
SCSS
$custom: #b048a2;
$custom-light: #ca81be;
$custom-dark: #000000;
JSON
{
  "hex": "#b048a2",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 308.077,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.17263,
    "h": 333.1
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#B048A2
secondary
#91C398
accent
#D26756
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B048A2

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

Preview Lab → · Contrast checker → · Palette generator →

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