#9548D8#9548D8

#9548D8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.212 H 305.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9548D8
RGBrgb(149, 72, 216)
HSLhsl(272, 65%, 56%)
HSVhsv(272, 67%, 85%)
CMYKcmyk(31%, 66.7%, 0%, 15.3%)
CIE-LABlab(46.95, 57.76, -61.24)
CIE-LCHlch(46.95, 84.19, 313.32°)
OKLaboklab(56.8% 0.122 -0.1738)
OKLCHoklch(56.8% 0.212 305.1)
XYZxyz(27.1037, 15.9823, 66.6095)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548D8 #8BD848
analogous
#4D48D8 #9548D8 #D848D3
triadic
#9548D8 #D89548 #48D895
tetradic
#9548D8 #D84D48 #8BD848 #48D3D8
square
#9548D8 #D84D48 #8BD848 #48D3D8
split-complementary
#9548D8 #D3D848 #48D84D
monochromatic
#571D89 #7728BB #9548D8 #B27AE3 #CFADEE

Accessibility & contrast

On white

5.00
#9548D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9548D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548D8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548D8#FFFFFF#000000##FFFFFF
##9548D81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#196FD5
Tritanopia (blue-blind)
#89688A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9548d8;
/* rgb */ color: rgb(149, 72, 216);
/* oklch */ color: oklch(56.8% 0.212 305.1);
Tailwind
colors: {
  custom: {
    50: '#b980e5',
    500: '#9548d8',
    950: '#000000',
  },
}
SCSS
$custom: #9548d8;
$custom-light: #b980e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9548d8",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 272.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.21236,
    "h": 305.1
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#9548D8
secondary
#BCDBA0
accent
#E8408E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9548D8

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

Preview Lab → · Contrast checker → · Palette generator →

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