#9F1E8B#9F1E8B

#9F1E8B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.197 H 335.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F1E8B
RGBrgb(159, 30, 139)
HSLhsl(309, 68%, 37%)
HSVhsv(309, 81%, 62%)
CMYKcmyk(0%, 81.1%, 12.6%, 37.6%)
CIE-LABlab(38.14, 61.15, -29.71)
CIE-LCHlch(38.14, 67.99, 334.09°)
OKLaboklab(49.29% 0.1793 -0.0812)
OKLCHoklch(49.29% 0.197 335.6)
XYZxyz(19.4229, 10.1654, 25.3603)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E8B #1E9F32
analogous
#721E9F #9F1E8B #9F1E4B
triadic
#9F1E8B #8B9F1E #1E8B9F
tetradic
#9F1E8B #9F721E #1E9F32 #1E4B9F
square
#9F1E8B #9F721E #1E9F32 #1E4B9F
split-complementary
#9F1E8B #4B9F1E #1E9F72
monochromatic
#380B31 #6C145E #9F1E8B #D228B8 #DF58CA

Accessibility & contrast

On white

6.92
#9F1E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1E8B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E8B#FFFFFF#000000##FFFFFF
##9F1E8B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#506088
Tritanopia (blue-blind)
#A72A54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1e8b;
/* rgb */ color: rgb(159, 30, 139);
/* oklch */ color: oklch(49.3% 0.197 335.6);
Tailwind
colors: {
  custom: {
    50: '#bf6bad',
    500: '#9f1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e8b;
$custom-light: #bf6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e8b",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 309.302,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49293,
    "c": 0.1968,
    "h": 335.6
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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