#8548CB#8548CB

#8548CB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.195 H 301.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8548CB
RGBrgb(133, 72, 203)
HSLhsl(268, 56%, 54%)
HSVhsv(268, 65%, 80%)
CMYKcmyk(34.5%, 64.5%, 0%, 20.4%)
CIE-LABlab(44.14, 51.31, -58.42)
CIE-LCHlch(44.14, 77.76, 311.29°)
OKLaboklab(54.07% 0.102 -0.166)
OKLCHoklch(54.07% 0.195 301.6)
XYZxyz(22.7672, 13.9330, 57.9782)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8548CB #8ECB48
analogous
#484DCB #8548CB #C748CB
triadic
#8548CB #CB8548 #48CB85
tetradic
#8548CB #CB484D #8ECB48 #48CBC7
square
#8548CB #CB484D #8ECB48 #48CBC7
split-complementary
#8548CB #CBC748 #4DCB48
monochromatic
#492277 #672FA6 #8548CB #A578D9 #C5A7E6

Accessibility & contrast

On white

5.55
#8548CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8548CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8548CB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8548CB#FFFFFF#000000##FFFFFF
##8548CB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#766583
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8548cb;
/* rgb */ color: rgb(133, 72, 203);
/* oklch */ color: oklch(54.1% 0.195 301.6);
Tailwind
colors: {
  custom: {
    50: '#ad7fdc',
    500: '#8548cb',
    950: '#000000',
  },
}
SCSS
$custom: #8548cb;
$custom-light: #ad7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8548cb",
  "rgb": {
    "r": 133,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 267.939,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.19486,
    "h": 301.6
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

primary
#8548CB
secondary
#B9D39B
accent
#DF4999
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8548CB

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

Preview Lab → · Contrast checker → · Palette generator →

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