#9548CB#9548CB

#9548CB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.9% C 0.199 H 308.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9548CB
RGBrgb(149, 72, 203)
HSLhsl(275, 56%, 54%)
HSVhsv(275, 65%, 80%)
CMYKcmyk(26.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(46.09, 54.80, -55.17)
CIE-LCHlch(46.09, 77.76, 314.81°)
OKLaboklab(55.91% 0.1232 -0.1559)
OKLCHoklch(55.91% 0.199 308.3)
XYZxyz(25.4891, 15.3365, 58.1058)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548CB #7ECB48
analogous
#5448CB #9548CB #CB48C0
triadic
#9548CB #CB9548 #48CB95
tetradic
#9548CB #CB5448 #7ECB48 #48C0CB
square
#9548CB #CB5448 #7ECB48 #48C0CB
split-complementary
#9548CB #C0CB48 #48CB54
monochromatic
#542277 #752FA6 #9548CB #B178D9 #CCA7E6

Accessibility & contrast

On white

5.16
#9548CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9548CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548CB#FFFFFF#000000##FFFFFF
##9548CB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#8D6383
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9548cb;
/* rgb */ color: rgb(149, 72, 203);
/* oklch */ color: oklch(55.9% 0.199 308.3);
Tailwind
colors: {
  custom: {
    50: '#b880dc',
    500: '#9548cb',
    950: '#000000',
  },
}
SCSS
$custom: #9548cb;
$custom-light: #b880dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9548cb",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 275.267,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.19871,
    "h": 308.3
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9548CB

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

Preview Lab → · Contrast checker → · Palette generator →

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