#9F3EAD#9F3EAD

#9F3EAD is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.187 H 322.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9F3EAD
RGBrgb(159, 62, 173)
HSLhsl(292, 47%, 46%)
HSVhsv(292, 64%, 68%)
CMYKcmyk(8.1%, 64.2%, 0%, 32.2%)
CIE-LABlab(43.99, 55.50, -40.93)
CIE-LCHlch(43.99, 68.96, 323.59°)
OKLaboklab(54.1% 0.1481 -0.1139)
OKLCHoklch(54.1% 0.187 322.4)
XYZxyz(23.5628, 13.8346, 40.9563)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3EAD #4CAD3E
analogous
#673EAD #9F3EAD #AD3E83
triadic
#9F3EAD #AD9F3E #3EAD9F
tetradic
#9F3EAD #AD673E #4CAD3E #3E83AD
square
#9F3EAD #AD673E #4CAD3E #3E83AD
split-complementary
#9F3EAD #83AD3E #3EAD67
monochromatic
#4C1E53 #762E80 #9F3EAD #BA62C7 #CE8FD7

Accessibility & contrast

On white

5.58
#9F3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9F3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3EAD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3EAD#FFFFFF#000000##FFFFFF
##9F3EAD1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B0
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#A15070
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3ead;
/* rgb */ color: rgb(159, 62, 173);
/* oklch */ color: oklch(54.1% 0.187 322.4);
Tailwind
colors: {
  custom: {
    50: '#be7ac6',
    500: '#9f3ead',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ead;
$custom-light: #be7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ead",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 292.432,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.18687,
    "h": 322.4
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#9F3EAD
secondary
#8DC285
accent
#D75162
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9F3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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