#9E48DA#9E48DA

#9E48DA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.217 H 308.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9E48DA
RGBrgb(158, 72, 218)
HSLhsl(275, 66%, 57%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(27.5%, 67%, 0%, 14.5%)
CIE-LABlab(48.22, 60.08, -60.28)
CIE-LCHlch(48.22, 85.11, 314.90°)
OKLaboklab(58% 0.1336 -0.1707)
OKLCHoklch(58% 0.217 308)
XYZxyz(29.0702, 16.9662, 68.0595)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48DA #84DA48
analogous
#5548DA #9E48DA #DA48CD
triadic
#9E48DA #DA9E48 #48DA9E
tetradic
#9E48DA #DA5548 #84DA48 #48CDDA
square
#9E48DA #DA5548 #84DA48 #48CDDA
split-complementary
#9E48DA #CDDA48 #48DA55
monochromatic
#5E1C8B #8026BE #9E48DA #B97BE4 #D4AEEF

Accessibility & contrast

On white

4.78
#9E48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9E48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48DA#FFFFFF#000000##FFFFFF
##9E48DA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#95678B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e48da;
/* rgb */ color: rgb(158, 72, 218);
/* oklch */ color: oklch(58.0% 0.217 308.0);
Tailwind
colors: {
  custom: {
    50: '#bf81e6',
    500: '#9e48da',
    950: '#000000',
  },
}
SCSS
$custom: #9e48da;
$custom-light: #bf81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48da",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 275.342,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57996,
    "c": 0.21672,
    "h": 308
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#9E48DA
secondary
#BADDA1
accent
#E93F85
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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