#B548FB#B548FB

#B548FB is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 63.0% C 0.255 H 308.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B548FB
RGBrgb(181, 72, 251)
HSLhsl(277, 96%, 63%)
HSVhsv(277, 71%, 98%)
CMYKcmyk(27.9%, 71.3%, 0%, 1.6%)
CIE-LABlab(53.41, 71.67, -70.32)
CIE-LCHlch(53.41, 100.40, 315.55°)
OKLaboklab(63.03% 0.1588 -0.1994)
OKLCHoklch(63.03% 0.255 308.5)
XYZxyz(38.7824, 21.4242, 93.3403)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548FB #8EFB48
analogous
#5B48FB #B548FB #FB48E8
triadic
#B548FB #FBB548 #48FBB5
tetradic
#B548FB #FB5B48 #8EFB48 #48E8FB
square
#B548FB #FB5B48 #8EFB48 #48E8FB
split-complementary
#B548FB #E8FB48 #48FB5B
monochromatic
#7904C4 #9D0CFA #B548FB #CD84FC #E5C0FE

Accessibility & contrast

On white

3.97
#B548FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B548FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548FB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548FB#FFFFFF#000000##000000
##B548FB1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#1181F7
Tritanopia (blue-blind)
#AA719E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b548fb;
/* rgb */ color: rgb(181, 72, 251);
/* oklch */ color: oklch(63.0% 0.255 308.5);
Tailwind
colors: {
  custom: {
    50: '#d184fe',
    500: '#b548fb',
    950: '#000000',
  },
}
SCSS
$custom: #b548fb;
$custom-light: #d184fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b548fb",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 276.536,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6303,
    "c": 0.2549,
    "h": 308.5
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#B548FB
secondary
#C8EFB0
accent
#E6005A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B548FB

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

Preview Lab → · Contrast checker → · Palette generator →

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