#9F1E98#9F1E98

#9F1E98 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.206 H 330.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F1E98
RGBrgb(159, 30, 152)
HSLhsl(303, 68%, 37%)
HSVhsv(303, 81%, 62%)
CMYKcmyk(0%, 81.1%, 4.4%, 37.6%)
CIE-LABlab(38.84, 63.12, -36.54)
CIE-LCHlch(38.84, 72.93, 329.93°)
OKLaboklab(50.03% 0.1795 -0.1009)
OKLCHoklch(50.03% 0.206 330.7)
XYZxyz(20.4298, 10.5682, 30.6635)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E98 #1E9F25
analogous
#661E9F #9F1E98 #9F1E58
triadic
#9F1E98 #989F1E #1E989F
tetradic
#9F1E98 #9F661E #1E9F25 #1E589F
square
#9F1E98 #9F661E #1E9F25 #1E589F
split-complementary
#9F1E98 #589F1E #1E9F66
monochromatic
#380B36 #6C1467 #9F1E98 #D228C9 #DF58D8

Accessibility & contrast

On white

6.75
#9F1E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1E98
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E98#FFFFFF#000000##FFFFFF
##9F1E981.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509B
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#A5315C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1e98;
/* rgb */ color: rgb(159, 30, 152);
/* oklch */ color: oklch(50.0% 0.206 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf6bb7',
    500: '#9f1e98',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e98;
$custom-light: #bf6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e98",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 303.256,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.20597,
    "h": 330.7
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1E98

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

Preview Lab → · Contrast checker → · Palette generator →

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