#9548D5#9548D5

#9548D5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.209 H 305.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9548D5
RGBrgb(149, 72, 213)
HSLhsl(273, 63%, 56%)
HSVhsv(273, 66%, 84%)
CMYKcmyk(30%, 66.2%, 0%, 16.5%)
CIE-LABlab(46.75, 57.07, -59.86)
CIE-LCHlch(46.75, 82.70, 313.64°)
OKLaboklab(56.59% 0.1223 -0.1697)
OKLCHoklch(56.59% 0.209 305.8)
XYZxyz(26.7194, 15.8286, 64.5855)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548D5 #88D548
analogous
#4E48D5 #9548D5 #D548CE
triadic
#9548D5 #D59548 #48D595
tetradic
#9548D5 #D54E48 #88D548 #48CED5
square
#9548D5 #D54E48 #88D548 #48CED5
split-complementary
#9548D5 #CED548 #48D54E
monochromatic
#561E84 #762AB6 #9548D5 #B27AE0 #CFACEC

Accessibility & contrast

On white

5.04
#9548D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9548D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548D5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548D5#FFFFFF#000000##FFFFFF
##9548D51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#206FD2
Tritanopia (blue-blind)
#8A6789
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9548d5;
/* rgb */ color: rgb(149, 72, 213);
/* oklch */ color: oklch(56.6% 0.209 305.8);
Tailwind
colors: {
  custom: {
    50: '#b980e3',
    500: '#9548d5',
    950: '#000000',
  },
}
SCSS
$custom: #9548d5;
$custom-light: #b980e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9548d5",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 272.766,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.20921,
    "h": 305.8
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#9548D5
secondary
#BADA9F
accent
#E6428C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9548D5

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

Preview Lab → · Contrast checker → · Palette generator →

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