#9D48E9#9D48E9

#9D48E9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.232 H 304.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D48E9
RGBrgb(157, 72, 233)
HSLhsl(272, 79%, 60%)
HSVhsv(272, 69%, 91%)
CMYKcmyk(32.6%, 69.1%, 0%, 8.6%)
CIE-LABlab(49.11, 63.24, -67.34)
CIE-LCHlch(49.11, 92.38, 313.20°)
OKLaboklab(58.93% 0.1304 -0.1915)
OKLCHoklch(58.93% 0.232 304.3)
XYZxyz(30.9266, 17.6861, 78.8595)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48E9 #94E948
analogous
#4C48E9 #9D48E9 #E948E5
triadic
#9D48E9 #E99D48 #48E99D
tetradic
#9D48E9 #E94C48 #94E948 #48E5E9
square
#9D48E9 #E94C48 #94E948 #48E5E9
split-complementary
#9D48E9 #E5E948 #48E94C
monochromatic
#5F14A3 #7F1ADA #9D48E9 #BA7FF0 #D8B5F6

Accessibility & contrast

On white

4.63
#9D48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9D48E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48E9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48E9#FFFFFF#000000##FFFFFF
##9D48E91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#8F6D94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d48e9;
/* rgb */ color: rgb(157, 72, 233);
/* oklch */ color: oklch(58.9% 0.232 304.3);
Tailwind
colors: {
  custom: {
    50: '#bf81f1',
    500: '#9d48e9',
    950: '#000000',
  },
}
SCSS
$custom: #9d48e9;
$custom-light: #bf81f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48e9",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 271.677,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.23166,
    "h": 304.3
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#9D48E9
secondary
#C5E6A7
accent
#F5338E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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