#9F409E#9F409E

#9F409E is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.5% C 0.171 H 328.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9F409E
RGBrgb(159, 64, 158)
HSLhsl(301, 43%, 44%)
HSVhsv(301, 60%, 62%)
CMYKcmyk(0%, 59.7%, 0.6%, 37.6%)
CIE-LABlab(43.52, 51.85, -32.77)
CIE-LCHlch(43.52, 61.34, 327.71°)
OKLaboklab(53.5% 0.1448 -0.0903)
OKLCHoklch(53.5% 0.171 328.1)
XYZxyz(22.3027, 13.5078, 33.7737)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F409E #409F41
analogous
#70409F #9F409E #9F406E
triadic
#9F409E #9E9F40 #409E9F
tetradic
#9F409E #9F7040 #409F41 #406E9F
square
#9F409E #9F7040 #409F41 #406E9F
split-complementary
#9F409E #6E9F40 #409F70
monochromatic
#481D47 #732E73 #9F409E #BE5EBD #D08ACF

Accessibility & contrast

On white

5.67
#9F409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9F409E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F409E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F409E#FFFFFF#000000##FFFFFF
##9F409E1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#A44B69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f409e;
/* rgb */ color: rgb(159, 64, 158);
/* oklch */ color: oklch(53.5% 0.171 328.1);
Tailwind
colors: {
  custom: {
    50: '#be7bbb',
    500: '#9f409e',
    950: '#000000',
  },
}
SCSS
$custom: #9f409e;
$custom-light: #be7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f409e",
  "rgb": {
    "r": 159,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 300.632,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.1706,
    "h": 328.1
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#9F409E
secondary
#80BB81
accent
#D25755
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F409E

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

Preview Lab → · Contrast checker → · Palette generator →

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