#9F419D#9F419D

#9F419D is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.6% C 0.168 H 328.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9F419D
RGBrgb(159, 65, 157)
HSLhsl(301, 42%, 44%)
HSVhsv(301, 59%, 62%)
CMYKcmyk(0%, 59.1%, 1.3%, 37.6%)
CIE-LABlab(43.64, 51.22, -31.99)
CIE-LCHlch(43.64, 60.38, 328.01°)
OKLaboklab(53.57% 0.1434 -0.088)
OKLCHoklch(53.57% 0.168 328.4)
XYZxyz(22.2739, 13.5873, 33.3412)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F419D #419F43
analogous
#72419F #9F419D #9F416E
triadic
#9F419D #9D9F41 #419D9F
tetradic
#9F419D #9F7241 #419F43 #416E9F
square
#9F419D #9F7241 #419F43 #416E9F
split-complementary
#9F419D #6E9F41 #419F72
monochromatic
#481D47 #742F72 #9F419D #BE5FBC #D08BCE

Accessibility & contrast

On white

5.65
#9F419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9F419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F419D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F419D#FFFFFF#000000##FFFFFF
##9F419D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#576C9A
Tritanopia (blue-blind)
#A44C69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f419d;
/* rgb */ color: rgb(159, 65, 157);
/* oklch */ color: oklch(53.6% 0.168 328.4);
Tailwind
colors: {
  custom: {
    50: '#be7bba',
    500: '#9f419d',
    950: '#000000',
  },
}
SCSS
$custom: #9f419d;
$custom-light: #be7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f419d",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 301.277,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53567,
    "c": 0.16824,
    "h": 328.4
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#9F419D
secondary
#81BA83
accent
#D25956
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9F419D

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

Preview Lab → · Contrast checker → · Palette generator →

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