#8548CC#8548CC

#8548CC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.196 H 301.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8548CC
RGBrgb(133, 72, 204)
HSLhsl(268, 56%, 54%)
HSVhsv(268, 65%, 80%)
CMYKcmyk(34.8%, 64.7%, 0%, 20%)
CIE-LABlab(44.21, 51.56, -58.89)
CIE-LCHlch(44.21, 78.27, 311.20°)
OKLaboklab(54.14% 0.1019 -0.1674)
OKLCHoklch(54.14% 0.196 301.3)
XYZxyz(22.8867, 13.9808, 58.6078)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8548CC #8FCC48
analogous
#484DCC #8548CC #C748CC
triadic
#8548CC #CC8548 #48CC85
tetradic
#8548CC #CC484D #8FCC48 #48CCC7
square
#8548CC #CC484D #8FCC48 #48CCC7
split-complementary
#8548CC #CCC748 #4DCC48
monochromatic
#4A2178 #672FA8 #8548CC #A578D9 #C5A8E7

Accessibility & contrast

On white

5.53
#8548CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8548CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8548CC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8548CC#FFFFFF#000000##FFFFFF
##8548CC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0E68C9
Tritanopia (blue-blind)
#766584
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8548cc;
/* rgb */ color: rgb(133, 72, 204);
/* oklch */ color: oklch(54.1% 0.196 301.3);
Tailwind
colors: {
  custom: {
    50: '#ad7fdc',
    500: '#8548cc',
    950: '#000000',
  },
}
SCSS
$custom: #8548cc;
$custom-light: #ad7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8548cc",
  "rgb": {
    "r": 133,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 267.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.19599,
    "h": 301.3
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#8548CC
secondary
#BAD49C
accent
#E0489A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8548CC

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

Preview Lab → · Contrast checker → · Palette generator →

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