#9E48E8#9E48E8

#9E48E8 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.231 H 304.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9E48E8
RGBrgb(158, 72, 232)
HSLhsl(272, 78%, 60%)
HSVhsv(272, 69%, 91%)
CMYKcmyk(31.9%, 69%, 0%, 9%)
CIE-LABlab(49.17, 63.21, -66.69)
CIE-LCHlch(49.17, 91.88, 313.47°)
OKLaboklab(58.98% 0.1319 -0.1895)
OKLCHoklch(58.98% 0.231 304.8)
XYZxyz(30.9801, 17.7302, 78.1185)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48E8 #92E848
analogous
#4E48E8 #9E48E8 #E848E2
triadic
#9E48E8 #E89E48 #48E89E
tetradic
#9E48E8 #E84E48 #92E848 #48E2E8
square
#9E48E8 #E84E48 #92E848 #48E2E8
split-complementary
#9E48E8 #E2E848 #48E84E
monochromatic
#6014A1 #801BD8 #9E48E8 #BB7EEF #D8B5F6

Accessibility & contrast

On white

4.62
#9E48E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9E48E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48E8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48E8#FFFFFF#000000##FFFFFF
##9E48E81.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#906D93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e48e8;
/* rgb */ color: rgb(158, 72, 232);
/* oklch */ color: oklch(59.0% 0.231 304.8);
Tailwind
colors: {
  custom: {
    50: '#c081f0',
    500: '#9e48e8',
    950: '#000000',
  },
}
SCSS
$custom: #9e48e8;
$custom-light: #c081f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48e8",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 272.25,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.23087,
    "h": 304.8
  },
  "luminance": 0.1773
}

Semantic roles & 50–950 ramp

primary
#9E48E8
secondary
#C4E5A7
accent
#F4348D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E48E8

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

Preview Lab → · Contrast checker → · Palette generator →

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