#9548BC#9548BC

#9548BC is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.183 H 312.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9548BC
RGBrgb(149, 72, 188)
HSLhsl(280, 46%, 51%)
HSVhsv(280, 62%, 74%)
CMYKcmyk(20.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(45.16, 51.48, -47.97)
CIE-LCHlch(45.16, 70.36, 317.02°)
OKLaboklab(54.94% 0.1237 -0.1348)
OKLCHoklch(54.94% 0.183 312.5)
XYZxyz(23.7873, 14.6558, 49.1430)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548BC #6FBC48
analogous
#5B48BC #9548BC #BC48A9
triadic
#9548BC #BC9548 #48BC95
tetradic
#9548BC #BC5B48 #6FBC48 #48A9BC
square
#9548BC #BC5B48 #6FBC48 #48A9BC
split-complementary
#9548BC #A9BC48 #48BC5B
monochromatic
#4F2565 #733592 #9548BC #AF75CC #C9A2DD

Accessibility & contrast

On white

5.34
#9548BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9548BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548BC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548BC#FFFFFF#000000##FFFFFF
##9548BC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#406DB9
Tritanopia (blue-blind)
#915E7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9548bc;
/* rgb */ color: rgb(149, 72, 188);
/* oklch */ color: oklch(54.9% 0.183 312.5);
Tailwind
colors: {
  custom: {
    50: '#b77fd1',
    500: '#9548bc',
    950: '#000000',
  },
}
SCSS
$custom: #9548bc;
$custom-light: #b77fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9548bc",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 279.828,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.18299,
    "h": 312.5
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#9548BC
secondary
#A7CA96
accent
#D6527E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9548BC

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

Preview Lab → · Contrast checker → · Palette generator →

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