#9E1FA0#9E1FA0

#9E1FA0 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.211 H 327.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9E1FA0
RGBrgb(158, 31, 160)
HSLhsl(299, 68%, 37%)
HSVhsv(299, 81%, 63%)
CMYKcmyk(1.2%, 80.6%, 0%, 37.3%)
CIE-LABlab(39.22, 63.93, -40.78)
CIE-LCHlch(39.22, 75.83, 327.47°)
OKLaboklab(50.41% 0.1775 -0.1133)
OKLCHoklch(50.41% 0.211 327.4)
XYZxyz(20.9354, 10.7887, 34.2307)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1FA0 #21A01F
analogous
#5E1FA0 #9E1FA0 #A01F61
triadic
#9E1FA0 #A09E1F #1FA09E
tetradic
#9E1FA0 #A05E1F #21A01F #1F61A0
square
#9E1FA0 #A05E1F #21A01F #1F61A0
split-complementary
#9E1FA0 #61A01F #1FA05E
monochromatic
#390B39 #6B156D #9E1FA0 #D129D3 #DD5ADF

Accessibility & contrast

On white

6.65
#9E1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E1FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1FA0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1FA0#FFFFFF#000000##FFFFFF
##9E1FA01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#A33760
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e1fa0;
/* rgb */ color: rgb(158, 31, 160);
/* oklch */ color: oklch(50.4% 0.211 327.4);
Tailwind
colors: {
  custom: {
    50: '#bf6cbd',
    500: '#9e1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #9e1fa0;
$custom-light: #bf6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1fa0",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 299.07,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.21058,
    "h": 327.4
  },
  "luminance": 0.10787
}

Semantic roles & 50–950 ramp

primary
#9E1FA0
secondary
#59C358
accent
#EA3D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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