#9E48CA#9E48CA

#9E48CA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.201 H 312.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E48CA
RGBrgb(158, 72, 202)
HSLhsl(280, 55%, 54%)
HSVhsv(280, 64%, 79%)
CMYKcmyk(21.8%, 64.4%, 0%, 20.8%)
CIE-LABlab(47.20, 56.60, -52.76)
CIE-LCHlch(47.20, 77.38, 317.01°)
OKLaboklab(56.94% 0.1347 -0.1486)
OKLCHoklch(56.94% 0.201 312.2)
XYZxyz(27.0767, 16.1688, 57.5602)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E48CA #74CA48
analogous
#5D48CA #9E48CA #CA48B5
triadic
#9E48CA #CA9E48 #48CA9E
tetradic
#9E48CA #CA5D48 #74CA48 #48B5CA
square
#9E48CA #CA5D48 #74CA48 #48B5CA
split-complementary
#9E48CA #B5CA48 #48CA5D
monochromatic
#592276 #7D30A5 #9E48CA #B777D8 #D0A7E5

Accessibility & contrast

On white

4.96
#9E48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9E48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E48CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E48CA#FFFFFF#000000##FFFFFF
##9E48CA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#996183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e48ca;
/* rgb */ color: rgb(158, 72, 202);
/* oklch */ color: oklch(56.9% 0.201 312.2);
Tailwind
colors: {
  custom: {
    50: '#be80db',
    500: '#9e48ca',
    950: '#000000',
  },
}
SCSS
$custom: #9e48ca;
$custom-light: #be80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9e48ca",
  "rgb": {
    "r": 158,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 279.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.20057,
    "h": 312.2
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#9E48CA
secondary
#AED39B
accent
#DE497C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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