#B048D7#B048D7

#B048D7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.220 H 315.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B048D7
RGBrgb(176, 72, 215)
HSLhsl(284, 64%, 56%)
HSVhsv(284, 67%, 84%)
CMYKcmyk(18.1%, 66.5%, 0%, 15.7%)
CIE-LABlab(50.42, 63.29, -54.91)
CIE-LCHlch(50.42, 83.79, 319.06°)
OKLaboklab(60.02% 0.1564 -0.1543)
OKLCHoklch(60.02% 0.22 315.4)
XYZxyz(32.4856, 18.7723, 66.1890)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048D7 #6FD748
analogous
#6948D7 #B048D7 #D748B7
triadic
#B048D7 #D7B048 #48D7B0
tetradic
#B048D7 #D76948 #6FD748 #48B7D7
square
#B048D7 #D76948 #6FD748 #48B7D7
split-complementary
#B048D7 #B7D748 #48D769
monochromatic
#6A1E87 #9229B9 #B048D7 #C67AE2 #DBACED

Accessibility & contrast

On white

4.42
#B048D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B048D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048D7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048D7#FFFFFF#000000##000000
##B048D71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#457BD4
Tritanopia (blue-blind)
#AD648A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b048d7;
/* rgb */ color: rgb(176, 72, 215);
/* oklch */ color: oklch(60.0% 0.220 315.4);
Tailwind
colors: {
  custom: {
    50: '#cb82e4',
    500: '#b048d7',
    950: '#000000',
  },
}
SCSS
$custom: #b048d7;
$custom-light: #cb82e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b048d7",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 283.636,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.21971,
    "h": 315.4
  },
  "luminance": 0.18771
}

Semantic roles & 50–950 ramp

primary
#B048D7
secondary
#B0DBA0
accent
#E7416E
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B048D7

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

Preview Lab → · Contrast checker → · Palette generator →

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