#9548E9#9548E9

#9548E9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.230 H 301.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9548E9
RGBrgb(149, 72, 233)
HSLhsl(269, 79%, 60%)
HSVhsv(269, 69%, 91%)
CMYKcmyk(36.1%, 69.1%, 0%, 8.6%)
CIE-LABlab(48.14, 61.73, -68.96)
CIE-LCHlch(48.14, 92.56, 311.83°)
OKLaboklab(58.03% 0.1198 -0.1965)
OKLCHoklch(58.03% 0.23 301.4)
XYZxyz(29.4162, 16.9073, 78.7887)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548E9 #9CE948
analogous
#484BE9 #9548E9 #E648E9
triadic
#9548E9 #E99548 #48E995
tetradic
#9548E9 #E9484B #9CE948 #48E9E6
square
#9548E9 #E9484B #9CE948 #48E9E6
split-complementary
#9548E9 #E9E648 #4BE948
monochromatic
#5814A3 #761ADA #9548E9 #B57FF0 #D4B5F6

Accessibility & contrast

On white

4.79
#9548E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9548E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548E9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548E9#FFFFFF#000000##FFFFFF
##9548E91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#836E93
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9548e9;
/* rgb */ color: rgb(149, 72, 233);
/* oklch */ color: oklch(58.0% 0.230 301.4);
Tailwind
colors: {
  custom: {
    50: '#ba81f1',
    500: '#9548e9',
    950: '#000000',
  },
}
SCSS
$custom: #9548e9;
$custom-light: #ba81f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9548e9",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 268.696,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.23012,
    "h": 301.4
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#9548E9
secondary
#C8E6A7
accent
#F53398
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9548E9

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

Preview Lab → · Contrast checker → · Palette generator →

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