#B048D6#B048D6

#B048D6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.219 H 315.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B048D6
RGBrgb(176, 72, 214)
HSLhsl(284, 63%, 56%)
HSVhsv(284, 66%, 84%)
CMYKcmyk(17.8%, 66.4%, 0%, 16.1%)
CIE-LABlab(50.36, 63.10, -54.43)
CIE-LCHlch(50.36, 83.33, 319.22°)
OKLaboklab(59.96% 0.1564 -0.1529)
OKLCHoklch(59.96% 0.219 315.6)
XYZxyz(32.3576, 18.7210, 65.5143)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048D6 #6ED648
analogous
#6948D6 #B048D6 #D648B5
triadic
#B048D6 #D6B048 #48D6B0
tetradic
#B048D6 #D66948 #6ED648 #48B5D6
square
#B048D6 #D66948 #6ED648 #48B5D6
split-complementary
#B048D6 #B5D648 #48D669
monochromatic
#6A1E86 #9229B8 #B048D6 #C67AE1 #DBACEC

Accessibility & contrast

On white

4.43
#B048D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B048D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048D6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048D6#FFFFFF#000000##000000
##B048D61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#AD6389
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b048d6;
/* rgb */ color: rgb(176, 72, 214);
/* oklch */ color: oklch(60.0% 0.219 315.6);
Tailwind
colors: {
  custom: {
    50: '#cb82e3',
    500: '#b048d6',
    950: '#000000',
  },
}
SCSS
$custom: #b048d6;
$custom-light: #cb82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b048d6",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 283.944,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.21877,
    "h": 315.6
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#B048D6
secondary
#AFDAA0
accent
#E6416E
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #B048D6

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

Preview Lab → · Contrast checker → · Palette generator →

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