#9E48DB#9E48DB

#9E48DB is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.218 H 307.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E48DB
RGBrgb(158, 72, 219)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 67%, 86%)
CMYKcmyk(27.9%, 67.1%, 0%, 14.1%)
CIE-LABlab(48.28, 60.30, -60.75)
CIE-LCHlch(48.28, 85.59, 314.79°)
OKLaboklab(58.06% 0.1335 -0.172)
OKLCHoklch(58.06% 0.218 307.8)
XYZxyz(29.2014, 17.0187, 68.7507)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48DB #85DB48
analogous
#5548DB #9E48DB #DB48CF
triadic
#9E48DB #DB9E48 #48DB9E
tetradic
#9E48DB #DB5548 #85DB48 #48CFDB
square
#9E48DB #DB5548 #85DB48 #48CFDB
split-complementary
#9E48DB #CFDB48 #48DB55
monochromatic
#5E1C8D #8026C0 #9E48DB #B97BE5 #D4AEEF

Accessibility & contrast

On white

4.77
#9E48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9E48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48DB#FFFFFF#000000##FFFFFF
##9E48DB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2773D8
Tritanopia (blue-blind)
#94688C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e48db;
/* rgb */ color: rgb(158, 72, 219);
/* oklch */ color: oklch(58.1% 0.218 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf81e7',
    500: '#9e48db',
    950: '#000000',
  },
}
SCSS
$custom: #9e48db;
$custom-light: #bf81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48db",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 275.102,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.21773,
    "h": 307.8
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

primary
#9E48DB
secondary
#BADDA2
accent
#EA3E85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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