#9F4EAE#9F4EAE

#9F4EAE is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.164 H 321.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9F4EAE
RGBrgb(159, 78, 174)
HSLhsl(291, 38%, 49%)
HSVhsv(291, 55%, 68%)
CMYKcmyk(8.6%, 55.2%, 0%, 31.8%)
CIE-LABlab(46.81, 48.16, -37.06)
CIE-LCHlch(46.81, 60.77, 322.42°)
OKLaboklab(56.17% 0.1277 -0.1028)
OKLCHoklch(56.17% 0.164 321.2)
XYZxyz(24.6616, 15.8768, 41.8017)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EAE #5DAE4E
analogous
#6F4EAE #9F4EAE #AE4E8D
triadic
#9F4EAE #AE9F4E #4EAE9F
tetradic
#9F4EAE #AE6F4E #5DAE4E #4E8DAE
square
#9F4EAE #AE6F4E #5DAE4E #4E8DAE
split-complementary
#9F4EAE #8DAE4E #4EAE6F
monochromatic
#522859 #783B84 #9F4EAE #B677C2 #CDA1D5

Accessibility & contrast

On white

5.03
#9F4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9F4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4EAE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4EAE#FFFFFF#000000##FFFFFF
##9F4EAE1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#A05C77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f4eae;
/* rgb */ color: rgb(159, 78, 174);
/* oklch */ color: oklch(56.2% 0.164 321.2);
Tailwind
colors: {
  custom: {
    50: '#be83c6',
    500: '#9f4eae',
    950: '#000000',
  },
}
SCSS
$custom: #9f4eae;
$custom-light: #be83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4eae",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 290.625,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56173,
    "c": 0.16396,
    "h": 321.2
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#9F4EAE
secondary
#9DC296
accent
#CE5A6C
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9F4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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