#9E48E5#9E48E5

#9E48E5 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.228 H 305.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9E48E5
RGBrgb(158, 72, 229)
HSLhsl(273, 75%, 59%)
HSVhsv(273, 69%, 90%)
CMYKcmyk(31%, 68.6%, 0%, 10.2%)
CIE-LABlab(48.96, 62.53, -65.33)
CIE-LCHlch(48.96, 90.43, 313.75°)
OKLaboklab(58.76% 0.1323 -0.1855)
OKLCHoklch(58.76% 0.228 305.5)
XYZxyz(30.5576, 17.5612, 75.8934)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48E5 #8FE548
analogous
#5048E5 #9E48E5 #E548DE
triadic
#9E48E5 #E59E48 #48E59E
tetradic
#9E48E5 #E55048 #8FE548 #48DEE5
square
#9E48E5 #E55048 #8FE548 #48DEE5
split-complementary
#9E48E5 #DEE548 #48E550
monochromatic
#60169C #811ED2 #9E48E5 #BA7EED #D7B3F4

Accessibility & contrast

On white

4.65
#9E48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9E48E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48E5#FFFFFF#000000##FFFFFF
##9E48E51.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0975E2
Tritanopia (blue-blind)
#916C91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e48e5;
/* rgb */ color: rgb(158, 72, 229);
/* oklch */ color: oklch(58.8% 0.228 305.5);
Tailwind
colors: {
  custom: {
    50: '#c081ee',
    500: '#9e48e5',
    950: '#000000',
  },
}
SCSS
$custom: #9e48e5;
$custom-light: #c081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48e5",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 272.866,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.22784,
    "h": 305.5
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#9E48E5
secondary
#C1E3A6
accent
#F2368B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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