#9F1E8E#9F1E8E

#9F1E8E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.199 H 334.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F1E8E
RGBrgb(159, 30, 142)
HSLhsl(308, 68%, 37%)
HSVhsv(308, 81%, 62%)
CMYKcmyk(0%, 81.1%, 10.7%, 37.6%)
CIE-LABlab(38.30, 61.60, -31.31)
CIE-LCHlch(38.30, 69.09, 333.06°)
OKLaboklab(49.46% 0.1794 -0.0858)
OKLCHoklch(49.46% 0.199 334.4)
XYZxyz(19.6451, 10.2543, 26.5306)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E8E #1E9F2F
analogous
#701E9F #9F1E8E #9F1E4E
triadic
#9F1E8E #8E9F1E #1E8E9F
tetradic
#9F1E8E #9F701E #1E9F2F #1E4E9F
square
#9F1E8E #9F701E #1E9F2F #1E4E9F
split-complementary
#9F1E8E #4E9F1E #1E9F70
monochromatic
#380B32 #6C1460 #9F1E8E #D228BC #DF58CE

Accessibility & contrast

On white

6.88
#9F1E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F1E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E8E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E8E#FFFFFF#000000##FFFFFF
##9F1E8E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#4E618B
Tritanopia (blue-blind)
#A72C56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1e8e;
/* rgb */ color: rgb(159, 30, 142);
/* oklch */ color: oklch(49.5% 0.199 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf6baf',
    500: '#9f1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e8e;
$custom-light: #bf6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e8e",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 307.907,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.19887,
    "h": 334.4
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#9F1E8E
secondary
#56C364
accent
#EB543D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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