#9548E5#9548E5

#9548E5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.226 H 302.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9548E5
RGBrgb(149, 72, 229)
HSLhsl(269, 75%, 59%)
HSVhsv(269, 69%, 90%)
CMYKcmyk(34.9%, 68.6%, 0%, 10.2%)
CIE-LABlab(47.86, 60.79, -67.17)
CIE-LCHlch(47.86, 90.59, 312.15°)
OKLaboklab(57.73% 0.1204 -0.1912)
OKLCHoklch(57.73% 0.226 302.2)
XYZxyz(28.8513, 16.6814, 75.8134)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548E5 #98E548
analogous
#484AE5 #9548E5 #E448E5
triadic
#9548E5 #E59548 #48E595
tetradic
#9548E5 #E5484A #98E548 #48E5E4
square
#9548E5 #E5484A #98E548 #48E5E4
split-complementary
#9548E5 #E5E448 #4AE548
monochromatic
#58169C #761ED2 #9548E5 #B47EED #D3B3F4

Accessibility & contrast

On white

4.84
#9548E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9548E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548E5#FFFFFF#000000##FFFFFF
##9548E51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#846D91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9548e5;
/* rgb */ color: rgb(149, 72, 229);
/* oklch */ color: oklch(57.7% 0.226 302.2);
Tailwind
colors: {
  custom: {
    50: '#ba81ee',
    500: '#9548e5',
    950: '#000000',
  },
}
SCSS
$custom: #9548e5;
$custom-light: #ba81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9548e5",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 269.427,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.22594,
    "h": 302.2
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#9548E5
secondary
#C5E3A6
accent
#F23696
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9548E5

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

Preview Lab → · Contrast checker → · Palette generator →

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