#9E4FD2#9E4FD2

#9E4FD2 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.3% C 0.199 H 309.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E4FD2
RGBrgb(158, 79, 210)
HSLhsl(276, 59%, 57%)
HSVhsv(276, 62%, 82%)
CMYKcmyk(24.8%, 62.4%, 0%, 17.6%)
CIE-LABlab(48.90, 55.02, -54.61)
CIE-LCHlch(48.90, 77.52, 315.21°)
OKLaboklab(58.33% 0.1262 -0.1541)
OKLCHoklch(58.33% 0.199 309.3)
XYZxyz(28.5271, 17.5147, 62.8382)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FD2 #83D24F
analogous
#5D4FD2 #9E4FD2 #D24FC5
triadic
#9E4FD2 #D29E4F #4FD29E
tetradic
#9E4FD2 #D25D4F #83D24F #4FC5D2
square
#9E4FD2 #D25D4F #83D24F #4FC5D2
split-complementary
#9E4FD2 #C5D24F #4FD25D
monochromatic
#5D2285 #802EB5 #9E4FD2 #B980DE #D4B0EB

Accessibility & contrast

On white

4.66
#9E4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9E4FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FD2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FD2#FFFFFF#000000##FFFFFF
##9E4FD21.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0871D6
Deuteranopia (green-blind)
#3D75CF
Tritanopia (blue-blind)
#976989
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e4fd2;
/* rgb */ color: rgb(158, 79, 210);
/* oklch */ color: oklch(58.3% 0.199 309.3);
Tailwind
colors: {
  custom: {
    50: '#be85e0',
    500: '#9e4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fd2;
$custom-light: #be85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fd2",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 276.183,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.19916,
    "h": 309.3
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#9E4FD2
secondary
#B9D9A4
accent
#E24584
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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