#B048D1#B048D1

#B048D1 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.214 H 317.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B048D1
RGBrgb(176, 72, 209)
HSLhsl(286, 60%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(15.8%, 65.6%, 0%, 18%)
CIE-LABlab(50.06, 62.11, -52.05)
CIE-LCHlch(50.06, 81.03, 320.03°)
OKLaboklab(59.65% 0.1566 -0.146)
OKLCHoklch(59.65% 0.214 317)
XYZxyz(31.7288, 18.4695, 62.2029)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048D1 #69D148
analogous
#6B48D1 #B048D1 #D148AE
triadic
#B048D1 #D1B048 #48D1B0
tetradic
#B048D1 #D16B48 #69D148 #48AED1
square
#B048D1 #D16B48 #69D148 #48AED1
split-complementary
#B048D1 #AED148 #48D16B
monochromatic
#68207F #902CB0 #B048D1 #C579DD #DAAAEA

Accessibility & contrast

On white

4.47
#B048D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B048D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048D1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048D1#FFFFFF#000000##000000
##B048D11.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C71D5
Deuteranopia (green-blind)
#4B7ACE
Tritanopia (blue-blind)
#AF6187
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b048d1;
/* rgb */ color: rgb(176, 72, 209);
/* oklch */ color: oklch(59.6% 0.214 317.0);
Tailwind
colors: {
  custom: {
    50: '#cb82e0',
    500: '#b048d1',
    950: '#000000',
  },
}
SCSS
$custom: #b048d1;
$custom-light: #cb82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b048d1",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 285.547,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.21411,
    "h": 317
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#B048D1
secondary
#ACD79E
accent
#E3456B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B048D1

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

Preview Lab → · Contrast checker → · Palette generator →

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