#B048E2#B048E2

#B048E2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.230 H 312.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B048E2
RGBrgb(176, 72, 226)
HSLhsl(281, 73%, 58%)
HSVhsv(281, 68%, 89%)
CMYKcmyk(22.1%, 68.1%, 0%, 11.4%)
CIE-LABlab(51.10, 65.52, -60.06)
CIE-LCHlch(51.10, 88.88, 317.49°)
OKLaboklab(60.72% 0.1556 -0.1694)
OKLCHoklch(60.72% 0.23 312.6)
XYZxyz(33.9469, 19.3568, 73.8847)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048E2 #7AE248
analogous
#6348E2 #B048E2 #E248C7
triadic
#B048E2 #E2B048 #48E2B0
tetradic
#B048E2 #E26348 #7AE248 #48C7E2
square
#B048E2 #E26348 #7AE248 #48C7E2
split-complementary
#B048E2 #C7E248 #48E263
monochromatic
#6E1898 #9520CC #B048E2 #C77DEA #DEB2F3

Accessibility & contrast

On white

4.31
#B048E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B048E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048E2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048E2#FFFFFF#000000##000000
##B048E21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#3A7CDF
Tritanopia (blue-blind)
#AA6890
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b048e2;
/* rgb */ color: rgb(176, 72, 226);
/* oklch */ color: oklch(60.7% 0.230 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc83ec',
    500: '#b048e2',
    950: '#000000',
  },
}
SCSS
$custom: #b048e2;
$custom-light: #cc83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b048e2",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 280.519,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.23003,
    "h": 312.6
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#B048E2
secondary
#B8E1A4
accent
#EF3874
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B048E2

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

Preview Lab → · Contrast checker → · Palette generator →

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