#9F4EAA#9F4EAA

#9F4EAA is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.0% C 0.160 H 322.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9F4EAA
RGBrgb(159, 78, 170)
HSLhsl(293, 37%, 49%)
HSVhsv(293, 54%, 67%)
CMYKcmyk(6.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(46.61, 47.38, -35.03)
CIE-LCHlch(46.61, 58.92, 323.52°)
OKLaboklab(55.96% 0.1273 -0.0969)
OKLCHoklch(55.96% 0.16 322.7)
XYZxyz(24.2774, 15.7231, 39.7785)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EAA #59AA4E
analogous
#714EAA #9F4EAA #AA4E87
triadic
#9F4EAA #AA9F4E #4EAA9F
tetradic
#9F4EAA #AA714E #59AA4E #4E87AA
square
#9F4EAA #AA714E #59AA4E #4E87AA
split-complementary
#9F4EAA #87AA4E #4EAA71
monochromatic
#512856 #783B80 #9F4EAA #B775C0 #CD9FD3

Accessibility & contrast

On white

5.07
#9F4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9F4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4EAA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4EAA#FFFFFF#000000##FFFFFF
##9F4EAA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#A15A75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f4eaa;
/* rgb */ color: rgb(159, 78, 170);
/* oklch */ color: oklch(56.0% 0.160 322.7);
Tailwind
colors: {
  custom: {
    50: '#be83c3',
    500: '#9f4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9f4eaa;
$custom-light: #be83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4eaa",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 292.826,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.16,
    "h": 322.7
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#9F4EAA
secondary
#99C094
accent
#CD5B68
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9F4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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