#9E48E9#9E48E9

#9E48E9 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.232 H 304.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9E48E9
RGBrgb(158, 72, 233)
HSLhsl(272, 79%, 60%)
HSVhsv(272, 69%, 91%)
CMYKcmyk(32.2%, 69.1%, 0%, 8.6%)
CIE-LABlab(49.24, 63.43, -67.14)
CIE-LCHlch(49.24, 92.37, 313.37°)
OKLaboklab(59.05% 0.1317 -0.1908)
OKLCHoklch(59.05% 0.232 304.6)
XYZxyz(31.1226, 17.7872, 78.8687)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48E9 #93E948
analogous
#4E48E9 #9E48E9 #E948E3
triadic
#9E48E9 #E99E48 #48E99E
tetradic
#9E48E9 #E94E48 #93E948 #48E3E9
square
#9E48E9 #E94E48 #93E948 #48E3E9
split-complementary
#9E48E9 #E3E948 #48E94E
monochromatic
#6014A3 #801ADA #9E48E9 #BB7FF0 #D8B5F6

Accessibility & contrast

On white

4.61
#9E48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9E48E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48E9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48E9#FFFFFF#000000##FFFFFF
##9E48E91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e48e9;
/* rgb */ color: rgb(158, 72, 233);
/* oklch */ color: oklch(59.0% 0.232 304.6);
Tailwind
colors: {
  custom: {
    50: '#c081f1',
    500: '#9e48e9',
    950: '#000000',
  },
}
SCSS
$custom: #9e48e9;
$custom-light: #c081f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48e9",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 272.05,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59047,
    "c": 0.23188,
    "h": 304.6
  },
  "luminance": 0.17787
}

Semantic roles & 50–950 ramp

primary
#9E48E9
secondary
#C4E6A7
accent
#F5338D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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