#9548AF#9548AF

#9548AF is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.1% C 0.170 H 316.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9548AF
RGBrgb(149, 72, 175)
HSLhsl(285, 42%, 48%)
HSVhsv(285, 59%, 69%)
CMYKcmyk(14.9%, 58.9%, 0%, 31.4%)
CIE-LABlab(44.40, 48.70, -41.55)
CIE-LCHlch(44.40, 64.02, 319.53°)
OKLaboklab(54.15% 0.1235 -0.1161)
OKLCHoklch(54.15% 0.17 316.8)
XYZxyz(22.4485, 14.1202, 42.0921)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548AF #62AF48
analogous
#6148AF #9548AF #AF4895
triadic
#9548AF #AF9548 #48AF95
tetradic
#9548AF #AF6148 #62AF48 #4895AF
square
#9548AF #AF6148 #62AF48 #4895AF
split-complementary
#9548AF #95AF48 #48AF61
monochromatic
#4B2458 #703684 #9548AF #AF70C4 #C79BD6

Accessibility & contrast

On white

5.49
#9548AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9548AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548AF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548AF#FFFFFF#000000##FFFFFF
##9548AF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#945975
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9548af;
/* rgb */ color: rgb(149, 72, 175);
/* oklch */ color: oklch(54.1% 0.170 316.8);
Tailwind
colors: {
  custom: {
    50: '#b77fc7',
    500: '#9548af',
    950: '#000000',
  },
}
SCSS
$custom: #9548af;
$custom-light: #b77fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9548af",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 284.854,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.1695,
    "h": 316.8
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#9548AF
secondary
#9DC290
accent
#D25675
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9548AF

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

Preview Lab → · Contrast checker → · Palette generator →

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