#B048DB#B048DB

#B048DB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.223 H 314.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B048DB
RGBrgb(176, 72, 219)
HSLhsl(282, 67%, 57%)
HSVhsv(282, 67%, 86%)
CMYKcmyk(19.6%, 67.1%, 0%, 14.1%)
CIE-LABlab(50.66, 64.10, -56.79)
CIE-LCHlch(50.66, 85.64, 318.46°)
OKLaboklab(60.27% 0.1561 -0.1599)
OKLCHoklch(60.27% 0.223 314.3)
XYZxyz(33.0059, 18.9804, 68.9290)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048DB #73DB48
analogous
#6748DB #B048DB #DB48BD
triadic
#B048DB #DBB048 #48DBB0
tetradic
#B048DB #DB6748 #73DB48 #48BDDB
square
#B048DB #DB6748 #73DB48 #48BDDB
split-complementary
#B048DB #BDDB48 #48DB67
monochromatic
#6C1C8D #9326C0 #B048DB #C67BE5 #DCAEEF

Accessibility & contrast

On white

4.38
#B048DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B048DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048DB#FFFFFF#000000##000000
##B048DB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#427BD8
Tritanopia (blue-blind)
#AC658C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b048db;
/* rgb */ color: rgb(176, 72, 219);
/* oklch */ color: oklch(60.3% 0.223 314.3);
Tailwind
colors: {
  custom: {
    50: '#cc83e7',
    500: '#b048db',
    950: '#000000',
  },
}
SCSS
$custom: #b048db;
$custom-light: #cc83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b048db",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 282.449,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.22345,
    "h": 314.3
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

primary
#B048DB
secondary
#B3DDA2
accent
#EA3E70
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B048DB

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

Preview Lab → · Contrast checker → · Palette generator →

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