#9548E2#9548E2

#9548E2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.223 H 302.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9548E2
RGBrgb(149, 72, 226)
HSLhsl(270, 73%, 58%)
HSVhsv(270, 68%, 89%)
CMYKcmyk(34.1%, 68.1%, 0%, 11.4%)
CIE-LABlab(47.64, 60.09, -65.81)
CIE-LCHlch(47.64, 89.12, 312.39°)
OKLaboklab(57.52% 0.1208 -0.1872)
OKLCHoklch(57.52% 0.223 302.8)
XYZxyz(28.4360, 16.5153, 73.6264)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548E2 #95E248
analogous
#4848E2 #9548E2 #E248E2
triadic
#9548E2 #E29548 #48E295
tetradic
#9548E2 #E24848 #95E248 #48E2E2
square
#9548E2 #E24848 #95E248 #48E2E2
split-complementary
#9548E2 #E2E248 #48E248
monochromatic
#581898 #7620CC #9548E2 #B47DEA #D2B2F3

Accessibility & contrast

On white

4.88
#9548E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9548E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548E2#FFFFFF#000000##FFFFFF
##9548E21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#856C90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9548e2;
/* rgb */ color: rgb(149, 72, 226);
/* oklch */ color: oklch(57.5% 0.223 302.8);
Tailwind
colors: {
  custom: {
    50: '#ba80ec',
    500: '#9548e2',
    950: '#000000',
  },
}
SCSS
$custom: #9548e2;
$custom-light: #ba80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9548e2",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 270,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.22281,
    "h": 302.8
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#9548E2
secondary
#C3E1A4
accent
#EF3894
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9548E2

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

Preview Lab → · Contrast checker → · Palette generator →

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