#9548EB#9548EB

#9548EB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.232 H 301.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9548EB
RGBrgb(149, 72, 235)
HSLhsl(268, 80%, 60%)
HSVhsv(268, 69%, 92%)
CMYKcmyk(36.6%, 69.4%, 0%, 7.8%)
CIE-LABlab(48.29, 62.20, -69.86)
CIE-LCHlch(48.29, 93.54, 311.68°)
OKLaboklab(58.18% 0.1195 -0.1991)
OKLCHoklch(58.18% 0.232 301)
XYZxyz(29.7035, 17.0223, 80.3019)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548EB #9EEB48
analogous
#484CEB #9548EB #E748EB
triadic
#9548EB #EB9548 #48EB95
tetradic
#9548EB #EB484C #9EEB48 #48EBE7
square
#9548EB #EB484C #9EEB48 #48EBE7
split-complementary
#9548EB #EBE748 #4CEB48
monochromatic
#5812A6 #7518DE #9548EB #B57FF1 #D5B6F7

Accessibility & contrast

On white

4.77
#9548EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9548EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548EB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548EB#FFFFFF#000000##FFFFFF
##9548EB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#826F95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9548eb;
/* rgb */ color: rgb(149, 72, 235);
/* oklch */ color: oklch(58.2% 0.232 301.0);
Tailwind
colors: {
  custom: {
    50: '#ba81f2',
    500: '#9548eb',
    950: '#000000',
  },
}
SCSS
$custom: #9548eb;
$custom-light: #ba81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9548eb",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 268.344,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.23219,
    "h": 301
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#9548EB
secondary
#C9E7A8
accent
#DD0979
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9548EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9548EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva