#9548CC#9548CC

#9548CC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.0% C 0.200 H 308.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9548CC
RGBrgb(149, 72, 204)
HSLhsl(275, 56%, 54%)
HSVhsv(275, 65%, 80%)
CMYKcmyk(27%, 64.7%, 0%, 20%)
CIE-LABlab(46.16, 55.02, -55.64)
CIE-LCHlch(46.16, 78.25, 314.68°)
OKLaboklab(55.98% 0.1231 -0.1573)
OKLCHoklch(55.98% 0.2 308)
XYZxyz(25.6086, 15.3843, 58.7354)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548CC #7FCC48
analogous
#5348CC #9548CC #CC48C1
triadic
#9548CC #CC9548 #48CC95
tetradic
#9548CC #CC5348 #7FCC48 #48C1CC
square
#9548CC #CC5348 #7FCC48 #48C1CC
split-complementary
#9548CC #C1CC48 #48CC53
monochromatic
#542178 #752FA8 #9548CC #B178D9 #CCA8E7

Accessibility & contrast

On white

5.15
#9548CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9548CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548CC#FFFFFF#000000##FFFFFF
##9548CC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#8D6384
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9548cc;
/* rgb */ color: rgb(149, 72, 204);
/* oklch */ color: oklch(56.0% 0.200 308.0);
Tailwind
colors: {
  custom: {
    50: '#b880dc',
    500: '#9548cc',
    950: '#000000',
  },
}
SCSS
$custom: #9548cc;
$custom-light: #b880dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9548cc",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 275,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.19976,
    "h": 308
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#9548CC
secondary
#B3D49C
accent
#E04887
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9548CC

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

Preview Lab → · Contrast checker → · Palette generator →

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