#9F4191#9F4191

#9F4191 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.0% C 0.158 H 333.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9F4191
RGBrgb(159, 65, 145)
HSLhsl(309, 42%, 44%)
HSVhsv(309, 59%, 62%)
CMYKcmyk(0%, 59.1%, 8.8%, 37.6%)
CIE-LABlab(43.06, 49.14, -25.67)
CIE-LCHlch(43.06, 55.44, 332.41°)
OKLaboklab(52.96% 0.1417 -0.0699)
OKLCHoklch(52.96% 0.158 333.7)
XYZxyz(21.2993, 13.1974, 28.2081)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4191 #419F4F
analogous
#7E419F #9F4191 #9F4162
triadic
#9F4191 #919F41 #41919F
tetradic
#9F4191 #9F7E41 #419F4F #41629F
square
#9F4191 #9F7E41 #419F4F #41629F
split-complementary
#9F4191 #629F41 #419F7E
monochromatic
#481D42 #742F69 #9F4191 #BE5FB0 #D08BC5

Accessibility & contrast

On white

5.77
#9F4191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9F4191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4191
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4191#FFFFFF#000000##FFFFFF
##9F41911.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#A64763
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f4191;
/* rgb */ color: rgb(159, 65, 145);
/* oklch */ color: oklch(53.0% 0.158 333.7);
Tailwind
colors: {
  custom: {
    50: '#be7bb1',
    500: '#9f4191',
    950: '#000000',
  },
}
SCSS
$custom: #9f4191;
$custom-light: #be7bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4191",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 308.936,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.15807,
    "h": 333.7
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#9F4191
secondary
#81BA8A
accent
#D26856
background
#FCF7FA
surface
#F8EEF5
border
#D1C9CF
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9F4191

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

Preview Lab → · Contrast checker → · Palette generator →

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