#9E4BD7#9E4BD7

#9E4BD7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.210 H 308.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E4BD7
RGBrgb(158, 75, 215)
HSLhsl(276, 64%, 57%)
HSVhsv(276, 65%, 84%)
CMYKcmyk(26.5%, 65.1%, 0%, 15.7%)
CIE-LABlab(48.52, 58.03, -58.08)
CIE-LCHlch(48.52, 82.11, 314.98°)
OKLaboklab(58.15% 0.1305 -0.1642)
OKLCHoklch(58.15% 0.21 308.5)
XYZxyz(28.8799, 17.2080, 66.0769)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BD7 #84D74B
analogous
#584BD7 #9E4BD7 #D74BCA
triadic
#9E4BD7 #D79E4B #4BD79E
tetradic
#9E4BD7 #D7584B #84D74B #4BCAD7
square
#9E4BD7 #D7584B #84D74B #4BCAD7
split-complementary
#9E4BD7 #CAD74B #4BD758
monochromatic
#5E1E89 #802ABB #9E4BD7 #B97DE2 #D4AFED

Accessibility & contrast

On white

4.73
#9E4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9E4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BD7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BD7#FFFFFF#000000##FFFFFF
##9E4BD71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3174D4
Tritanopia (blue-blind)
#95688B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4bd7;
/* rgb */ color: rgb(158, 75, 215);
/* oklch */ color: oklch(58.2% 0.210 308.5);
Tailwind
colors: {
  custom: {
    50: '#bf83e4',
    500: '#9e4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bd7;
$custom-light: #bf83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bd7",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 275.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.20978,
    "h": 308.5
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#9E4BD7
secondary
#BADBA2
accent
#E74185
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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