#9548C8#9548C8

#9548C8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.196 H 309.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9548C8
RGBrgb(149, 72, 200)
HSLhsl(276, 54%, 53%)
HSVhsv(276, 64%, 78%)
CMYKcmyk(25.5%, 64%, 0%, 21.6%)
CIE-LABlab(45.90, 54.12, -53.75)
CIE-LCHlch(45.90, 76.28, 315.20°)
OKLaboklab(55.71% 0.1233 -0.1518)
OKLCHoklch(55.71% 0.196 309.1)
XYZxyz(25.1350, 15.1949, 56.2412)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548C8 #7BC848
analogous
#5548C8 #9548C8 #C848BB
triadic
#9548C8 #C89548 #48C895
tetradic
#9548C8 #C85548 #7BC848 #48BBC8
square
#9548C8 #C85548 #7BC848 #48BBC8
split-complementary
#9548C8 #BBC848 #48C855
monochromatic
#532373 #7531A2 #9548C8 #B077D6 #CCA6E4

Accessibility & contrast

On white

5.20
#9548C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9548C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548C8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548C8#FFFFFF#000000##FFFFFF
##9548C81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#8E6282
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9548c8;
/* rgb */ color: rgb(149, 72, 200);
/* oklch */ color: oklch(55.7% 0.196 309.1);
Tailwind
colors: {
  custom: {
    50: '#b880d9',
    500: '#9548c8',
    950: '#000000',
  },
}
SCSS
$custom: #9548c8;
$custom-light: #b880d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9548c8",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 276.094,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.19556,
    "h": 309.1
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#9548C8
secondary
#B0D19A
accent
#DD4B85
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9548C8

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

Preview Lab → · Contrast checker → · Palette generator →

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