#9F3DAC#9F3DAC

#9F3DAC is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.187 H 322.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9F3DAC
RGBrgb(159, 61, 172)
HSLhsl(293, 48%, 46%)
HSVhsv(293, 65%, 67%)
CMYKcmyk(7.6%, 64.5%, 0%, 32.5%)
CIE-LABlab(43.78, 55.75, -40.68)
CIE-LCHlch(43.78, 69.01, 323.88°)
OKLaboklab(53.93% 0.1493 -0.1132)
OKLCHoklch(53.93% 0.187 322.8)
XYZxyz(23.4125, 13.6882, 40.4306)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DAC #4AAC3D
analogous
#673DAC #9F3DAC #AC3D81
triadic
#9F3DAC #AC9F3D #3DAC9F
tetradic
#9F3DAC #AC673D #4AAC3D #3D81AC
square
#9F3DAC #AC673D #4AAC3D #3D81AC
split-complementary
#9F3DAC #81AC3D #3DAC67
monochromatic
#4B1D52 #752D7F #9F3DAC #BA60C7 #CE8DD7

Accessibility & contrast

On white

5.62
#9F3DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F3DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DAC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DAC#FFFFFF#000000##FFFFFF
##9F3DAC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#4D6BA9
Tritanopia (blue-blind)
#A14E6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3dac;
/* rgb */ color: rgb(159, 61, 172);
/* oklch */ color: oklch(53.9% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#be7ac5',
    500: '#9f3dac',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dac;
$custom-light: #be7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dac",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 292.973,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.18734,
    "h": 322.8
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#9F3DAC
secondary
#8BC184
accent
#D75160
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9F3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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