#8548D6#8548D6

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

Color values

HEX#8548D6
RGBrgb(133, 72, 214)
HSLhsl(266, 63%, 56%)
HSVhsv(266, 66%, 84%)
CMYKcmyk(37.9%, 66.4%, 0%, 16.1%)
CIE-LABlab(44.91, 54.04, -63.50)
CIE-LCHlch(44.91, 83.38, 310.40°)
OKLaboklab(54.87% 0.1008 -0.181)
OKLCHoklch(54.87% 0.207 299.1)
XYZxyz(24.1248, 14.4760, 65.1284)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8548D6 #99D648
analogous
#4852D6 #8548D6 #CC48D6
triadic
#8548D6 #D68548 #48D685
tetradic
#8548D6 #D64852 #99D648 #48D6CC
square
#8548D6 #D64852 #99D648 #48D6CC
split-complementary
#8548D6 #D6CC48 #52D648
monochromatic
#4A1E86 #6629B8 #8548D6 #A67AE1 #C8ACEC

Accessibility & contrast

On white

5.39
#8548D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8548D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8548D6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8548D6#FFFFFF#000000##FFFFFF
##8548D61.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#726989
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8548d6;
/* rgb */ color: rgb(133, 72, 214);
/* oklch */ color: oklch(54.9% 0.207 299.1);
Tailwind
colors: {
  custom: {
    50: '#ae7fe3',
    500: '#8548d6',
    950: '#000000',
  },
}
SCSS
$custom: #8548d6;
$custom-light: #ae7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8548d6",
  "rgb": {
    "r": 133,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 265.775,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.20716,
    "h": 299.1
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#8548D6
secondary
#C1DAA0
accent
#E641A0
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8548D6

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

Preview Lab → · Contrast checker → · Palette generator →

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