#8548D7#8548D7

#8548D7 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.208 H 298.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8548D7
RGBrgb(133, 72, 215)
HSLhsl(266, 64%, 56%)
HSVhsv(266, 67%, 84%)
CMYKcmyk(38.1%, 66.5%, 0%, 15.7%)
CIE-LABlab(44.98, 54.29, -63.96)
CIE-LCHlch(44.98, 83.89, 310.33°)
OKLaboklab(54.95% 0.1007 -0.1823)
OKLCHoklch(54.95% 0.208 298.9)
XYZxyz(24.2529, 14.5273, 65.8031)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8548D7 #9AD748
analogous
#4853D7 #8548D7 #CD48D7
triadic
#8548D7 #D78548 #48D785
tetradic
#8548D7 #D74853 #9AD748 #48D7CD
square
#8548D7 #D74853 #9AD748 #48D7CD
split-complementary
#8548D7 #D7CD48 #53D748
monochromatic
#4B1E87 #6629B9 #8548D7 #A67AE2 #C8ACED

Accessibility & contrast

On white

5.38
#8548D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8548D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8548D7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8548D7#FFFFFF#000000##FFFFFF
##8548D71.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#72698A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8548d7;
/* rgb */ color: rgb(133, 72, 215);
/* oklch */ color: oklch(54.9% 0.208 298.9);
Tailwind
colors: {
  custom: {
    50: '#ae7fe4',
    500: '#8548d7',
    950: '#000000',
  },
}
SCSS
$custom: #8548d7;
$custom-light: #ae7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8548d7",
  "rgb": {
    "r": 133,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 265.594,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.20827,
    "h": 298.9
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#8548D7
secondary
#C2DBA0
accent
#E741A0
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8548D7

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

Preview Lab → · Contrast checker → · Palette generator →

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