#9E48DD#9E48DD

#9E48DD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.220 H 307.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9E48DD
RGBrgb(158, 72, 221)
HSLhsl(275, 69%, 57%)
HSVhsv(275, 67%, 87%)
CMYKcmyk(28.5%, 67.4%, 0%, 13.3%)
CIE-LABlab(48.42, 60.74, -61.67)
CIE-LCHlch(48.42, 86.56, 314.57°)
OKLaboklab(58.2% 0.1332 -0.1747)
OKLCHoklch(58.2% 0.22 307.3)
XYZxyz(29.4663, 17.1247, 70.1457)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48DD #87DD48
analogous
#5448DD #9E48DD #DD48D2
triadic
#9E48DD #DD9E48 #48DD9E
tetradic
#9E48DD #DD5448 #87DD48 #48D2DD
square
#9E48DD #DD5448 #87DD48 #48D2DD
split-complementary
#9E48DD #D2DD48 #48DD54
monochromatic
#5E1B90 #8024C3 #9E48DD #B97CE7 #D5AFF0

Accessibility & contrast

On white

4.75
#9E48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9E48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48DD#FFFFFF#000000##FFFFFF
##9E48DD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#2374DA
Tritanopia (blue-blind)
#94698D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e48dd;
/* rgb */ color: rgb(158, 72, 221);
/* oklch */ color: oklch(58.2% 0.220 307.3);
Tailwind
colors: {
  custom: {
    50: '#bf81e8',
    500: '#9e48dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e48dd;
$custom-light: #bf81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48dd",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 274.631,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.21975,
    "h": 307.3
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#9E48DD
secondary
#BCDEA2
accent
#EC3C86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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