#B548FE#B548FE

#B548FE is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 63.2% C 0.258 H 307.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B548FE
RGBrgb(181, 72, 254)
HSLhsl(276, 99%, 64%)
HSVhsv(276, 72%, 100%)
CMYKcmyk(28.7%, 71.7%, 0%, 0.4%)
CIE-LABlab(53.62, 72.30, -71.65)
CIE-LCHlch(53.62, 101.79, 315.26°)
OKLaboklab(63.24% 0.1583 -0.2033)
OKLCHoklch(63.24% 0.258 307.9)
XYZxyz(39.2591, 21.6148, 95.8506)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B548FE #91FE48
analogous
#5A48FE #B548FE #FE48EC
triadic
#B548FE #FEB548 #48FEB5
tetradic
#B548FE #FE5A48 #91FE48 #48ECFE
square
#B548FE #FE5A48 #91FE48 #48ECFE
split-complementary
#B548FE #ECFE48 #48FE5A
monochromatic
#7A01CA #9C0BFE #B548FE #CE85FE #E6C2FF

Accessibility & contrast

On white

3.95
#B548FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B548FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B548FE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B548FE#FFFFFF#000000##000000
##B548FE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0081FA
Tritanopia (blue-blind)
#A9739F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b548fe;
/* rgb */ color: rgb(181, 72, 254);
/* oklch */ color: oklch(63.2% 0.258 307.9);
Tailwind
colors: {
  custom: {
    50: '#d184ff',
    500: '#b548fe',
    950: '#000000',
  },
}
SCSS
$custom: #b548fe;
$custom-light: #d184ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b548fe",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 254
  },
  "hsl": {
    "h": 275.934,
    "s": 98.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6324,
    "c": 0.25769,
    "h": 307.9
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#B548FE
secondary
#CBF1B1
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B548FE

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

Preview Lab → · Contrast checker → · Palette generator →

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