#9548DB#9548DB

#9548DB is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.215 H 304.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9548DB
RGBrgb(149, 72, 219)
HSLhsl(271, 67%, 57%)
HSVhsv(271, 67%, 86%)
CMYKcmyk(32%, 67.1%, 0%, 14.1%)
CIE-LABlab(47.16, 58.46, -62.62)
CIE-LCHlch(47.16, 85.67, 313.03°)
OKLaboklab(57.01% 0.1217 -0.1778)
OKLCHoklch(57.01% 0.215 304.4)
XYZxyz(27.4951, 16.1389, 68.6707)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548DB #8EDB48
analogous
#4C48DB #9548DB #DB48D7
triadic
#9548DB #DB9548 #48DB95
tetradic
#9548DB #DB4C48 #8EDB48 #48D7DB
square
#9548DB #DB4C48 #8EDB48 #48D7DB
split-complementary
#9548DB #D7DB48 #48DB4C
monochromatic
#571C8D #7726C0 #9548DB #B37BE5 #D0AEEF

Accessibility & contrast

On white

4.97
#9548DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9548DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548DB#FFFFFF#000000##FFFFFF
##9548DB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0F70D8
Tritanopia (blue-blind)
#88698C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9548db;
/* rgb */ color: rgb(149, 72, 219);
/* oklch */ color: oklch(57.0% 0.215 304.4);
Tailwind
colors: {
  custom: {
    50: '#b980e7',
    500: '#9548db',
    950: '#000000',
  },
}
SCSS
$custom: #9548db;
$custom-light: #b980e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9548db",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 271.429,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.21549,
    "h": 304.4
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#9548DB
secondary
#BEDDA2
accent
#EA3E90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9548DB

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

Preview Lab → · Contrast checker → · Palette generator →

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