#9548D9#9548D9

#9548D9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.213 H 304.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9548D9
RGBrgb(149, 72, 217)
HSLhsl(272, 66%, 57%)
HSVhsv(272, 67%, 85%)
CMYKcmyk(31.3%, 66.8%, 0%, 14.9%)
CIE-LABlab(47.02, 57.99, -61.71)
CIE-LCHlch(47.02, 84.68, 313.22°)
OKLaboklab(56.87% 0.1219 -0.1751)
OKLCHoklch(56.87% 0.213 304.8)
XYZxyz(27.2334, 16.0342, 67.2924)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548D9 #8CD948
analogous
#4D48D9 #9548D9 #D948D5
triadic
#9548D9 #D99548 #48D995
tetradic
#9548D9 #D94D48 #8CD948 #48D5D9
square
#9548D9 #D94D48 #8CD948 #48D5D9
split-complementary
#9548D9 #D5D948 #48D94D
monochromatic
#571D8A #7727BD #9548D9 #B27BE4 #D0ADEE

Accessibility & contrast

On white

4.99
#9548D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9548D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548D9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548D9#FFFFFF#000000##FFFFFF
##9548D91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#1670D6
Tritanopia (blue-blind)
#89688B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9548d9;
/* rgb */ color: rgb(149, 72, 217);
/* oklch */ color: oklch(56.9% 0.213 304.8);
Tailwind
colors: {
  custom: {
    50: '#b980e6',
    500: '#9548d9',
    950: '#000000',
  },
}
SCSS
$custom: #9548d9;
$custom-light: #b980e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9548d9",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 271.862,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56872,
    "c": 0.2134,
    "h": 304.8
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#9548D9
secondary
#BDDCA1
accent
#E93F8F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9548D9

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

Preview Lab → · Contrast checker → · Palette generator →

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