#9F1E8A#9F1E8A

#9F1E8A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.196 H 336.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9F1E8A
RGBrgb(159, 30, 138)
HSLhsl(310, 68%, 37%)
HSVhsv(310, 81%, 62%)
CMYKcmyk(0%, 81.1%, 13.2%, 37.6%)
CIE-LABlab(38.09, 61.01, -29.18)
CIE-LCHlch(38.09, 67.63, 334.44°)
OKLaboklab(49.24% 0.1792 -0.0797)
OKLCHoklch(49.24% 0.196 336)
XYZxyz(19.3501, 10.1363, 24.9772)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E8A #1E9F33
analogous
#731E9F #9F1E8A #9F1E4A
triadic
#9F1E8A #8A9F1E #1E8A9F
tetradic
#9F1E8A #9F731E #1E9F33 #1E4A9F
square
#9F1E8A #9F731E #1E9F33 #1E4A9F
split-complementary
#9F1E8A #4A9F1E #1E9F73
monochromatic
#380B31 #6C145D #9F1E8A #D228B7 #DF58C9

Accessibility & contrast

On white

6.94
#9F1E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E8A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E8A#FFFFFF#000000##FFFFFF
##9F1E8A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#A72954
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1e8a;
/* rgb */ color: rgb(159, 30, 138);
/* oklch */ color: oklch(49.2% 0.196 336.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bac',
    500: '#9f1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e8a;
$custom-light: #bf6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e8a",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 309.767,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.19611,
    "h": 336
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#9F1E8A
secondary
#56C367
accent
#EB593D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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