#9E1F90#9E1F90

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

Color values

HEX#9E1F90
RGBrgb(158, 31, 144)
HSLhsl(307, 67%, 37%)
HSVhsv(307, 80%, 62%)
CMYKcmyk(0%, 80.4%, 8.9%, 38%)
CIE-LABlab(38.31, 61.42, -32.51)
CIE-LCHlch(38.31, 69.49, 332.10°)
OKLaboklab(49.47% 0.1777 -0.0893)
OKLCHoklch(49.47% 0.199 333.3)
XYZxyz(19.6247, 10.2644, 27.3278)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F90 #1F9E2D
analogous
#6D1F9E #9E1F90 #9E1F51
triadic
#9E1F90 #909E1F #1F909E
tetradic
#9E1F90 #9E6D1F #1F9E2D #1F519E
square
#9E1F90 #9E6D1F #1F9E2D #1F519E
split-complementary
#9E1F90 #519E1F #1F9E6D
monochromatic
#380B33 #6B1561 #9E1F90 #D129BF #DE59D0

Accessibility & contrast

On white

6.88
#9E1F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E1F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1F90
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F90#FFFFFF#000000##FFFFFF
##9E1F901.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F93
Deuteranopia (green-blind)
#4D608D
Tritanopia (blue-blind)
#A52E57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1f90;
/* rgb */ color: rgb(158, 31, 144);
/* oklch */ color: oklch(49.5% 0.199 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bb1',
    500: '#9e1f90',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f90;
$custom-light: #bf6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f90",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 306.614,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.19889,
    "h": 333.3
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#9E1F90
secondary
#56C262
accent
#EA513E
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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