#9B48E5#9B48E5

#9B48E5 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.227 H 304.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9B48E5
RGBrgb(155, 72, 229)
HSLhsl(272, 75%, 59%)
HSVhsv(272, 69%, 90%)
CMYKcmyk(32.3%, 68.6%, 0%, 10.2%)
CIE-LABlab(48.59, 61.95, -65.95)
CIE-LCHlch(48.59, 90.48, 313.21°)
OKLaboklab(58.41% 0.1283 -0.1874)
OKLCHoklch(58.41% 0.227 304.4)
XYZxyz(29.9746, 17.2606, 75.8660)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48E5 #92E548
analogous
#4D48E5 #9B48E5 #E548E1
triadic
#9B48E5 #E59B48 #48E59B
tetradic
#9B48E5 #E54D48 #92E548 #48E1E5
square
#9B48E5 #E54D48 #92E548 #48E1E5
split-complementary
#9B48E5 #E1E548 #48E54D
monochromatic
#5D169C #7D1ED2 #9B48E5 #B87EED #D6B3F4

Accessibility & contrast

On white

4.72
#9B48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9B48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48E5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48E5#FFFFFF#000000##FFFFFF
##9B48E51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#8D6C91
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b48e5;
/* rgb */ color: rgb(155, 72, 229);
/* oklch */ color: oklch(58.4% 0.227 304.4);
Tailwind
colors: {
  custom: {
    50: '#be81ee',
    500: '#9b48e5',
    950: '#000000',
  },
}
SCSS
$custom: #9b48e5;
$custom-light: #be81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48e5",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 271.72,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.22715,
    "h": 304.4
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#9B48E5
secondary
#C3E3A6
accent
#F2368F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B48E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9B48E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva