#8548D5#8548D5

#8548D5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.206 H 299.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8548D5
RGBrgb(133, 72, 213)
HSLhsl(266, 63%, 56%)
HSVhsv(266, 66%, 84%)
CMYKcmyk(37.6%, 66.2%, 0%, 16.5%)
CIE-LABlab(44.84, 53.79, -63.04)
CIE-LCHlch(44.84, 82.87, 310.47°)
OKLaboklab(54.8% 0.101 -0.1796)
OKLCHoklch(54.8% 0.206 299.3)
XYZxyz(23.9975, 14.4251, 64.4579)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8548D5 #98D548
analogous
#4851D5 #8548D5 #CB48D5
triadic
#8548D5 #D58548 #48D585
tetradic
#8548D5 #D54851 #98D548 #48D5CB
square
#8548D5 #D54851 #98D548 #48D5CB
split-complementary
#8548D5 #D5CB48 #51D548
monochromatic
#4A1E84 #662AB6 #8548D5 #A67AE0 #C7ACEC

Accessibility & contrast

On white

5.41
#8548D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8548D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8548D5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8548D5#FFFFFF#000000##FFFFFF
##8548D51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#736988
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8548d5;
/* rgb */ color: rgb(133, 72, 213);
/* oklch */ color: oklch(54.8% 0.206 299.3);
Tailwind
colors: {
  custom: {
    50: '#ae7fe3',
    500: '#8548d5',
    950: '#000000',
  },
}
SCSS
$custom: #8548d5;
$custom-light: #ae7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8548d5",
  "rgb": {
    "r": 133,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 265.957,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.20604,
    "h": 299.3
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#8548D5
secondary
#C0DA9F
accent
#E6429F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8548D5

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

Preview Lab → · Contrast checker → · Palette generator →

#8548D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva