#9F4AED#9F4AED

#9F4AED is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.234 H 303.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9F4AED
RGBrgb(159, 74, 237)
HSLhsl(271, 82%, 61%)
HSVhsv(271, 69%, 93%)
CMYKcmyk(32.9%, 68.8%, 0%, 7.1%)
CIE-LABlab(49.96, 63.64, -68.22)
CIE-LCHlch(49.96, 93.30, 313.01°)
OKLaboklab(59.68% 0.1305 -0.194)
OKLCHoklch(59.68% 0.234 303.9)
XYZxyz(32.0294, 18.3830, 81.9652)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4AED #98ED4A
analogous
#4D4AED #9F4AED #ED4AEA
triadic
#9F4AED #ED9F4A #4AED9F
tetradic
#9F4AED #ED4D4A #98ED4A #4AEAED
square
#9F4AED #ED4D4A #98ED4A #4AEAED
split-complementary
#9F4AED #EAED4A #4AED4D
monochromatic
#6211AC #8117E3 #9F4AED #BD82F3 #DAB9F8

Accessibility & contrast

On white

4.49
#9F4AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9F4AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4AED
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4AED#FFFFFF#000000##000000
##9F4AED1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#907096
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4aed;
/* rgb */ color: rgb(159, 74, 237);
/* oklch */ color: oklch(59.7% 0.234 303.9);
Tailwind
colors: {
  custom: {
    50: '#c183f4',
    500: '#9f4aed',
    950: '#000000',
  },
}
SCSS
$custom: #9f4aed;
$custom-light: #c183f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4aed",
  "rgb": {
    "r": 159,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 271.288,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.23377,
    "h": 303.9
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#9F4AED
secondary
#C8E8AB
accent
#DE076E
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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