#9E1F89#9E1F89

#9E1F89 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.194 H 336.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E1F89
RGBrgb(158, 31, 137)
HSLhsl(310, 67%, 37%)
HSVhsv(310, 80%, 62%)
CMYKcmyk(0%, 80.4%, 13.3%, 38%)
CIE-LABlab(37.94, 60.38, -28.80)
CIE-LCHlch(37.94, 66.89, 334.50°)
OKLaboklab(49.09% 0.1774 -0.0786)
OKLCHoklch(49.09% 0.194 336.1)
XYZxyz(19.1062, 10.0570, 24.5970)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F89 #1F9E34
analogous
#741F9E #9E1F89 #9E1F4A
triadic
#9E1F89 #899E1F #1F899E
tetradic
#9E1F89 #9E741F #1F9E34 #1F4A9E
square
#9E1F89 #9E741F #1F9E34 #1F4A9E
split-complementary
#9E1F89 #4A9E1F #1F9E74
monochromatic
#380B30 #6B155D #9E1F89 #D129B5 #DE59C8

Accessibility & contrast

On white

6.97
#9E1F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E1F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1F89
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F89#FFFFFF#000000##FFFFFF
##9E1F891.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A62A53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1f89;
/* rgb */ color: rgb(158, 31, 137);
/* oklch */ color: oklch(49.1% 0.194 336.1);
Tailwind
colors: {
  custom: {
    50: '#bf6bac',
    500: '#9e1f89',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f89;
$custom-light: #bf6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f89",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 309.921,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.19401,
    "h": 336.1
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#9E1F89
secondary
#56C268
accent
#EA5A3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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