#9F1E8F#9F1E8F

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

Color values

HEX#9F1E8F
RGBrgb(159, 30, 143)
HSLhsl(307, 68%, 37%)
HSVhsv(307, 81%, 62%)
CMYKcmyk(0%, 81.1%, 10.1%, 37.6%)
CIE-LABlab(38.35, 61.74, -31.83)
CIE-LCHlch(38.35, 69.47, 332.72°)
OKLaboklab(49.51% 0.1794 -0.0873)
OKLCHoklch(49.51% 0.2 334)
XYZxyz(19.7205, 10.2844, 26.9278)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E8F #1E9F2E
analogous
#6F1E9F #9F1E8F #9F1E4F
triadic
#9F1E8F #8F9F1E #1E8F9F
tetradic
#9F1E8F #9F6F1E #1E9F2E #1E4F9F
square
#9F1E8F #9F6F1E #1E9F2E #1E4F9F
split-complementary
#9F1E8F #4F9F1E #1E9F6F
monochromatic
#380B32 #6C1461 #9F1E8F #D228BD #DF58CF

Accessibility & contrast

On white

6.87
#9F1E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F1E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E8F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E8F#FFFFFF#000000##FFFFFF
##9F1E8F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1e8f;
/* rgb */ color: rgb(159, 30, 143);
/* oklch */ color: oklch(49.5% 0.200 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bb0',
    500: '#9f1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e8f;
$custom-light: #bf6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e8f",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 307.442,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.19956,
    "h": 334
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#9F1E8F
secondary
#56C363
accent
#EB523D
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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