#9548CA#9548CA

#9548CA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.198 H 308.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9548CA
RGBrgb(149, 72, 202)
HSLhsl(276, 55%, 54%)
HSVhsv(276, 64%, 79%)
CMYKcmyk(26.2%, 64.4%, 0%, 20.8%)
CIE-LABlab(46.03, 54.57, -54.70)
CIE-LCHlch(46.03, 77.27, 314.94°)
OKLaboklab(55.84% 0.1232 -0.1546)
OKLCHoklch(55.84% 0.198 308.6)
XYZxyz(25.3703, 15.2890, 57.4802)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548CA #7DCA48
analogous
#5448CA #9548CA #CA48BE
triadic
#9548CA #CA9548 #48CA95
tetradic
#9548CA #CA5448 #7DCA48 #48BECA
square
#9548CA #CA5448 #7DCA48 #48BECA
split-complementary
#9548CA #BECA48 #48CA54
monochromatic
#542276 #7530A5 #9548CA #B077D8 #CCA7E5

Accessibility & contrast

On white

5.18
#9548CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9548CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548CA#FFFFFF#000000##FFFFFF
##9548CA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#8D6383
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9548ca;
/* rgb */ color: rgb(149, 72, 202);
/* oklch */ color: oklch(55.8% 0.198 308.6);
Tailwind
colors: {
  custom: {
    50: '#b880db',
    500: '#9548ca',
    950: '#000000',
  },
}
SCSS
$custom: #9548ca;
$custom-light: #b880db;
$custom-dark: #000000;
JSON
{
  "hex": "#9548ca",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 275.538,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.19766,
    "h": 308.6
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#9548CA
secondary
#B2D39B
accent
#DE4986
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9548CA

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

Preview Lab → · Contrast checker → · Palette generator →

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