#9548D4#9548D4

#9548D4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.208 H 306.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9548D4
RGBrgb(149, 72, 212)
HSLhsl(273, 62%, 56%)
HSVhsv(273, 66%, 83%)
CMYKcmyk(29.7%, 66%, 0%, 16.9%)
CIE-LABlab(46.68, 56.84, -59.39)
CIE-LCHlch(46.68, 82.21, 313.74°)
OKLaboklab(56.52% 0.1224 -0.1683)
OKLCHoklch(56.52% 0.208 306)
XYZxyz(26.5929, 15.7780, 63.9191)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548D4 #87D448
analogous
#4F48D4 #9548D4 #D448CD
triadic
#9548D4 #D49548 #48D495
tetradic
#9548D4 #D44F48 #87D448 #48CDD4
square
#9548D4 #D44F48 #87D448 #48CDD4
split-complementary
#9548D4 #CDD448 #48D44F
monochromatic
#561F83 #762AB4 #9548D4 #B27AE0 #CEABEB

Accessibility & contrast

On white

5.05
#9548D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9548D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548D4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548D4#FFFFFF#000000##FFFFFF
##9548D41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#226FD1
Tritanopia (blue-blind)
#8A6688
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9548d4;
/* rgb */ color: rgb(149, 72, 212);
/* oklch */ color: oklch(56.5% 0.208 306.0);
Tailwind
colors: {
  custom: {
    50: '#b980e2',
    500: '#9548d4',
    950: '#000000',
  },
}
SCSS
$custom: #9548d4;
$custom-light: #b980e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9548d4",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 273,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.20815,
    "h": 306
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#9548D4
secondary
#B9D99F
accent
#E5438C
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9548D4

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

Preview Lab → · Contrast checker → · Palette generator →

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