#9E48D8#9E48D8

#9E48D8 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.215 H 308.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9E48D8
RGBrgb(158, 72, 216)
HSLhsl(276, 65%, 56%)
HSVhsv(276, 67%, 85%)
CMYKcmyk(26.9%, 66.7%, 0%, 15.3%)
CIE-LABlab(48.09, 59.64, -59.36)
CIE-LCHlch(48.09, 84.14, 315.14°)
OKLaboklab(57.86% 0.1337 -0.1679)
OKLCHoklch(57.86% 0.215 308.5)
XYZxyz(28.8101, 16.8622, 66.6894)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48D8 #82D848
analogous
#5648D8 #9E48D8 #D848CA
triadic
#9E48D8 #D89E48 #48D89E
tetradic
#9E48D8 #D85648 #82D848 #48CAD8
square
#9E48D8 #D85648 #82D848 #48CAD8
split-complementary
#9E48D8 #CAD848 #48D856
monochromatic
#5D1D89 #8028BB #9E48D8 #B97AE3 #D3ADEE

Accessibility & contrast

On white

4.80
#9E48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9E48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48D8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48D8#FFFFFF#000000##FFFFFF
##9E48D81.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#95678A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e48d8;
/* rgb */ color: rgb(158, 72, 216);
/* oklch */ color: oklch(57.9% 0.215 308.5);
Tailwind
colors: {
  custom: {
    50: '#bf81e5',
    500: '#9e48d8',
    950: '#000000',
  },
}
SCSS
$custom: #9e48d8;
$custom-light: #bf81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48d8",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 275.833,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.21469,
    "h": 308.5
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#9E48D8
secondary
#B8DBA0
accent
#E84084
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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