#B048C7#B048C7

#B048C7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.0% C 0.205 H 319.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B048C7
RGBrgb(176, 72, 199)
HSLhsl(289, 53%, 53%)
HSVhsv(289, 64%, 78%)
CMYKcmyk(11.6%, 63.8%, 0%, 22%)
CIE-LABlab(49.48, 60.17, -47.23)
CIE-LCHlch(49.48, 76.49, 321.87°)
OKLaboklab(59.04% 0.1568 -0.1319)
OKLCHoklch(59.04% 0.205 319.9)
XYZxyz(30.5294, 17.9898, 55.8860)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048C7 #5FC748
analogous
#7048C7 #B048C7 #C7489E
triadic
#B048C7 #C7B048 #48C7B0
tetradic
#B048C7 #C77048 #5FC748 #489EC7
square
#B048C7 #C77048 #5FC748 #489EC7
split-complementary
#B048C7 #9EC748 #48C770
monochromatic
#632372 #8C31A1 #B048C7 #C477D5 #D8A6E4

Accessibility & contrast

On white

4.57
#B048C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B048C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048C7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048C7#FFFFFF#000000##000000
##B048C71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#246ECB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#B15D81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b048c7;
/* rgb */ color: rgb(176, 72, 199);
/* oklch */ color: oklch(59.0% 0.205 319.9);
Tailwind
colors: {
  custom: {
    50: '#cb82d8',
    500: '#b048c7',
    950: '#000000',
  },
}
SCSS
$custom: #b048c7;
$custom-light: #cb82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b048c7",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 289.134,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.20489,
    "h": 319.9
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#B048C7
secondary
#A4D19A
accent
#DD4B66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B048C7

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

Preview Lab → · Contrast checker → · Palette generator →

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