#9E4FAF#9E4FAF

#9E4FAF is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.2% C 0.163 H 320.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9E4FAF
RGBrgb(158, 79, 175)
HSLhsl(289, 38%, 50%)
HSVhsv(289, 55%, 69%)
CMYKcmyk(9.7%, 54.9%, 0%, 31.4%)
CIE-LABlab(46.92, 47.59, -37.49)
CIE-LCHlch(46.92, 60.58, 321.77°)
OKLaboklab(56.24% 0.1252 -0.1041)
OKLCHoklch(56.24% 0.163 320.3)
XYZxyz(24.6335, 15.9573, 42.3316)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FAF #60AF4F
analogous
#6E4FAF #9E4FAF #AF4F90
triadic
#9E4FAF #AF9E4F #4FAF9E
tetradic
#9E4FAF #AF6E4F #60AF4F #4F90AF
square
#9E4FAF #AF6E4F #60AF4F #4F90AF
split-complementary
#9E4FAF #90AF4F #4FAF6E
monochromatic
#52295B #783C85 #9E4FAF #B579C2 #CDA3D5

Accessibility & contrast

On white

5.01
#9E4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9E4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FAF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FAF#FFFFFF#000000##FFFFFF
##9E4FAF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#9F5D77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4faf;
/* rgb */ color: rgb(158, 79, 175);
/* oklch */ color: oklch(56.2% 0.163 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd84c7',
    500: '#9e4faf',
    950: '#000000',
  },
}
SCSS
$custom: #9e4faf;
$custom-light: #bd84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4faf",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 289.375,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.16285,
    "h": 320.3
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#9E4FAF
secondary
#9FC397
accent
#CE5A6F
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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