#B048E1#B048E1

#B048E1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.229 H 312.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B048E1
RGBrgb(176, 72, 225)
HSLhsl(281, 72%, 58%)
HSVhsv(281, 68%, 88%)
CMYKcmyk(21.8%, 68%, 0%, 11.8%)
CIE-LABlab(51.04, 65.31, -59.59)
CIE-LCHlch(51.04, 88.41, 317.62°)
OKLaboklab(60.66% 0.1557 -0.1681)
OKLCHoklch(60.66% 0.229 312.8)
XYZxyz(33.8101, 19.3021, 73.1642)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048E1 #79E148
analogous
#6348E1 #B048E1 #E148C6
triadic
#B048E1 #E1B048 #48E1B0
tetradic
#B048E1 #E16348 #79E148 #48C6E1
square
#B048E1 #E16348 #79E148 #48C6E1
split-complementary
#B048E1 #C6E148 #48E163
monochromatic
#6E1996 #9421CB #B048E1 #C77DEA #DDB1F2

Accessibility & contrast

On white

4.32
#B048E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B048E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048E1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048E1#FFFFFF#000000##000000
##B048E11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#3B7CDE
Tritanopia (blue-blind)
#AB688F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b048e1;
/* rgb */ color: rgb(176, 72, 225);
/* oklch */ color: oklch(60.7% 0.229 312.8);
Tailwind
colors: {
  custom: {
    50: '#cc83eb',
    500: '#b048e1',
    950: '#000000',
  },
}
SCSS
$custom: #b048e1;
$custom-light: #cc83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b048e1",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 280.784,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.22909,
    "h": 312.8
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#B048E1
secondary
#B7E1A4
accent
#EF3973
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B048E1

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

Preview Lab → · Contrast checker → · Palette generator →

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