#9E48DC#9E48DC

#9E48DC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.219 H 307.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9E48DC
RGBrgb(158, 72, 220)
HSLhsl(275, 68%, 57%)
HSVhsv(275, 67%, 86%)
CMYKcmyk(28.2%, 67.3%, 0%, 13.7%)
CIE-LABlab(48.35, 60.52, -61.21)
CIE-LCHlch(48.35, 86.08, 314.68°)
OKLaboklab(58.13% 0.1334 -0.1734)
OKLCHoklch(58.13% 0.219 307.6)
XYZxyz(29.3335, 17.0715, 69.4461)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48DC #86DC48
analogous
#5448DC #9E48DC #DC48D0
triadic
#9E48DC #DC9E48 #48DC9E
tetradic
#9E48DC #DC5448 #86DC48 #48D0DC
square
#9E48DC #DC5448 #86DC48 #48D0DC
split-complementary
#9E48DC #D0DC48 #48DC54
monochromatic
#5E1B8E #8025C2 #9E48DC #B97BE6 #D4AFF0

Accessibility & contrast

On white

4.76
#9E48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9E48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48DC#FFFFFF#000000##FFFFFF
##9E48DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#94688C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e48dc;
/* rgb */ color: rgb(158, 72, 220);
/* oklch */ color: oklch(58.1% 0.219 307.6);
Tailwind
colors: {
  custom: {
    50: '#bf81e8',
    500: '#9e48dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e48dc;
$custom-light: #bf81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48dc",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 274.865,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.21875,
    "h": 307.6
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#9E48DC
secondary
#BBDEA2
accent
#EB3D86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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