#9F1E97#9F1E97

#9F1E97 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.205 H 331.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F1E97
RGBrgb(159, 30, 151)
HSLhsl(304, 68%, 37%)
HSVhsv(304, 81%, 62%)
CMYKcmyk(0%, 81.1%, 5%, 37.6%)
CIE-LABlab(38.79, 62.96, -36.02)
CIE-LCHlch(38.79, 72.54, 330.23°)
OKLaboklab(49.97% 0.1796 -0.0994)
OKLCHoklch(49.97% 0.205 331)
XYZxyz(20.3483, 10.5355, 30.2340)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E97 #1E9F26
analogous
#671E9F #9F1E97 #9F1E57
triadic
#9F1E97 #979F1E #1E979F
tetradic
#9F1E97 #9F671E #1E9F26 #1E579F
square
#9F1E97 #9F671E #1E9F26 #1E579F
split-complementary
#9F1E97 #579F1E #1E9F67
monochromatic
#380B35 #6C1466 #9F1E97 #D228C8 #DF58D7

Accessibility & contrast

On white

6.76
#9F1E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F1E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E97
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E97#FFFFFF#000000##FFFFFF
##9F1E971.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#A6315B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1e97;
/* rgb */ color: rgb(159, 30, 151);
/* oklch */ color: oklch(50.0% 0.205 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bb6',
    500: '#9f1e97',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e97;
$custom-light: #bf6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e97",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 303.721,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.20525,
    "h": 331
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#9F1E97
secondary
#56C35C
accent
#EB483D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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