#9E4FD3#9E4FD3

#9E4FD3 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.200 H 309.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9E4FD3
RGBrgb(158, 79, 211)
HSLhsl(276, 60%, 57%)
HSVhsv(276, 63%, 83%)
CMYKcmyk(25.1%, 62.6%, 0%, 17.3%)
CIE-LABlab(48.96, 55.24, -55.09)
CIE-LCHlch(48.96, 78.01, 315.08°)
OKLaboklab(58.39% 0.1262 -0.1555)
OKLCHoklch(58.39% 0.2 309.1)
XYZxyz(28.6521, 17.5647, 63.4963)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FD3 #84D34F
analogous
#5C4FD3 #9E4FD3 #D34FC6
triadic
#9E4FD3 #D39E4F #4FD39E
tetradic
#9E4FD3 #D35C4F #84D34F #4FC6D3
square
#9E4FD3 #D35C4F #84D34F #4FC6D3
split-complementary
#9E4FD3 #C6D34F #4FD35C
monochromatic
#5E2286 #802EB7 #9E4FD3 #B980DF #D4B1EB

Accessibility & contrast

On white

4.65
#9E4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9E4FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FD3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FD3#FFFFFF#000000##FFFFFF
##9E4FD31.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0371D7
Deuteranopia (green-blind)
#3B75D0
Tritanopia (blue-blind)
#96698A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4fd3;
/* rgb */ color: rgb(158, 79, 211);
/* oklch */ color: oklch(58.4% 0.200 309.1);
Tailwind
colors: {
  custom: {
    50: '#be85e1',
    500: '#9e4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fd3;
$custom-light: #be85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fd3",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 275.909,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.20021,
    "h": 309.1
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#9E4FD3
secondary
#BADAA4
accent
#E34584
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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