#B048AF#B048AF

#B048AF is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.183 H 328.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B048AF
RGBrgb(176, 72, 175)
HSLhsl(301, 42%, 49%)
HSVhsv(301, 59%, 69%)
CMYKcmyk(0%, 59.1%, 0.6%, 31%)
CIE-LABlab(48.21, 55.76, -35.28)
CIE-LCHlch(48.21, 65.98, 327.67°)
OKLaboklab(57.71% 0.1556 -0.0972)
OKLCHoklch(57.71% 0.183 328)
XYZxyz(27.9593, 16.9618, 42.3504)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048AF #48B049
analogous
#7D48B0 #B048AF #B0487B
triadic
#B048AF #AFB048 #48AFB0
tetradic
#B048AF #B07D48 #48B049 #487BB0
square
#B048AF #B07D48 #48B049 #487BB0
split-complementary
#B048AF #7BB048 #48B07D
monochromatic
#592459 #853684 #B048AF #C570C4 #D69CD6

Accessibility & contrast

On white

4.78
#B048AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B048AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B048AF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048AF#FFFFFF#000000##FFFFFF
##B048AF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#B55475
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b048af;
/* rgb */ color: rgb(176, 72, 175);
/* oklch */ color: oklch(57.7% 0.183 328.0);
Tailwind
colors: {
  custom: {
    50: '#ca81c7',
    500: '#b048af',
    950: '#000000',
  },
}
SCSS
$custom: #b048af;
$custom-light: #ca81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b048af",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 300.577,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57708,
    "c": 0.18349,
    "h": 328
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#B048AF
secondary
#91C391
accent
#D25756
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B048AF

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

Preview Lab → · Contrast checker → · Palette generator →

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