#B048DF#B048DF

#B048DF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.227 H 313.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B048DF
RGBrgb(176, 72, 223)
HSLhsl(281, 70%, 58%)
HSVhsv(281, 68%, 87%)
CMYKcmyk(21.1%, 67.7%, 0%, 12.5%)
CIE-LABlab(50.91, 64.91, -58.66)
CIE-LCHlch(50.91, 87.49, 317.89°)
OKLaboklab(60.53% 0.1558 -0.1653)
OKLCHoklch(60.53% 0.227 313.3)
XYZxyz(33.5388, 19.1936, 71.7357)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B048DF #77DF48
analogous
#6548DF #B048DF #DF48C2
triadic
#B048DF #DFB048 #48DFB0
tetradic
#B048DF #DF6548 #77DF48 #48C2DF
square
#B048DF #DF6548 #77DF48 #48C2DF
split-complementary
#B048DF #C2DF48 #48DF65
monochromatic
#6D1A93 #9423C7 #B048DF #C67CE8 #DDB0F1

Accessibility & contrast

On white

4.34
#B048DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B048DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B048DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B048DF#FFFFFF#000000##000000
##B048DF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3D7CDC
Tritanopia (blue-blind)
#AB678E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b048df;
/* rgb */ color: rgb(176, 72, 223);
/* oklch */ color: oklch(60.5% 0.227 313.3);
Tailwind
colors: {
  custom: {
    50: '#cc83ea',
    500: '#b048df',
    950: '#000000',
  },
}
SCSS
$custom: #b048df;
$custom-light: #cc83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b048df",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 281.325,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.2272,
    "h": 313.3
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#B048DF
secondary
#B6E0A3
accent
#ED3B72
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B048DF

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

Preview Lab → · Contrast checker → · Palette generator →

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