#B548DF#B548DF

#B548DF is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.229 H 315.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B548DF
RGBrgb(181, 72, 223)
HSLhsl(283, 70%, 58%)
HSVhsv(283, 68%, 87%)
CMYKcmyk(18.8%, 67.7%, 0%, 12.5%)
CIE-LABlab(51.60, 65.96, -57.53)
CIE-LCHlch(51.60, 87.52, 318.91°)
OKLaboklab(61.16% 0.1619 -0.1619)
OKLCHoklch(61.16% 0.229 315)
XYZxyz(34.6905, 19.7874, 71.7897)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548DF #72DF48
analogous
#6948DF #B548DF #DF48BE
triadic
#B548DF #DFB548 #48DFB5
tetradic
#B548DF #DF6948 #72DF48 #48BEDF
square
#B548DF #DF6948 #72DF48 #48BEDF
split-complementary
#B548DF #BEDF48 #48DF69
monochromatic
#711A93 #9923C7 #B548DF #CA7CE8 #DFB0F1

Accessibility & contrast

On white

4.24
#B548DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B548DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548DF#FFFFFF#000000##000000
##B548DF1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#447EDC
Tritanopia (blue-blind)
#B2668E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b548df;
/* rgb */ color: rgb(181, 72, 223);
/* oklch */ color: oklch(61.2% 0.229 315.0);
Tailwind
colors: {
  custom: {
    50: '#cf83ea',
    500: '#b548df',
    950: '#000000',
  },
}
SCSS
$custom: #b548df;
$custom-light: #cf83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b548df",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 283.311,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.22897,
    "h": 315
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#B548DF
secondary
#B4E0A3
accent
#ED3B6C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B548DF

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

Preview Lab → · Contrast checker → · Palette generator →

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