#9F1E8D#9F1E8D

#9F1E8D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.198 H 334.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F1E8D
RGBrgb(159, 30, 141)
HSLhsl(308, 68%, 37%)
HSVhsv(308, 81%, 62%)
CMYKcmyk(0%, 81.1%, 11.3%, 37.6%)
CIE-LABlab(38.24, 61.45, -30.78)
CIE-LCHlch(38.24, 68.72, 333.40°)
OKLaboklab(49.4% 0.1794 -0.0843)
OKLCHoklch(49.4% 0.198 334.8)
XYZxyz(19.5703, 10.2244, 26.1369)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E8D #1E9F30
analogous
#711E9F #9F1E8D #9F1E4D
triadic
#9F1E8D #8D9F1E #1E8D9F
tetradic
#9F1E8D #9F711E #1E9F30 #1E4D9F
square
#9F1E8D #9F711E #1E9F30 #1E4D9F
split-complementary
#9F1E8D #4D9F1E #1E9F71
monochromatic
#380B32 #6C145F #9F1E8D #D228BB #DF58CD

Accessibility & contrast

On white

6.90
#9F1E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F1E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E8D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E8D#FFFFFF#000000##FFFFFF
##9F1E8D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A72B55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1e8d;
/* rgb */ color: rgb(159, 30, 141);
/* oklch */ color: oklch(49.4% 0.198 334.8);
Tailwind
colors: {
  custom: {
    50: '#bf6baf',
    500: '#9f1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e8d;
$custom-light: #bf6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e8d",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 308.372,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.19817,
    "h": 334.8
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#9F1E8D
secondary
#56C365
accent
#EB553D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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