#9548BF#9548BF

#9548BF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.186 H 311.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9548BF
RGBrgb(149, 72, 191)
HSLhsl(279, 48%, 52%)
HSVhsv(279, 62%, 75%)
CMYKcmyk(22%, 62.3%, 0%, 25.1%)
CIE-LABlab(45.34, 52.13, -49.42)
CIE-LCHlch(45.34, 71.84, 316.53°)
OKLaboklab(55.13% 0.1237 -0.1391)
OKLCHoklch(55.13% 0.186 311.6)
XYZxyz(24.1140, 14.7865, 50.8639)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548BF #72BF48
analogous
#5A48BF #9548BF #BF48AD
triadic
#9548BF #BF9548 #48BF95
tetradic
#9548BF #BF5A48 #72BF48 #48ADBF
square
#9548BF #BF5A48 #72BF48 #48ADBF
split-complementary
#9548BF #ADBF48 #48BF5A
monochromatic
#502468 #733496 #9548BF #AF75CF #CAA3DF

Accessibility & contrast

On white

5.31
#9548BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9548BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548BF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548BF#FFFFFF#000000##FFFFFF
##9548BF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1468C3
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#905F7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9548bf;
/* rgb */ color: rgb(149, 72, 191);
/* oklch */ color: oklch(55.1% 0.186 311.6);
Tailwind
colors: {
  custom: {
    50: '#b77fd3',
    500: '#9548bf',
    950: '#000000',
  },
}
SCSS
$custom: #9548bf;
$custom-light: #b77fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9548bf",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 278.824,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.18613,
    "h": 311.6
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#9548BF
secondary
#AACC97
accent
#D85080
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9548BF

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

Preview Lab → · Contrast checker → · Palette generator →

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