#9E1FB4#9E1FB4

#9E1FB4 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.7% C 0.226 H 321.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9E1FB4
RGBrgb(158, 31, 180)
HSLhsl(291, 71%, 41%)
HSVhsv(291, 83%, 71%)
CMYKcmyk(12.2%, 82.8%, 0%, 29.4%)
CIE-LABlab(40.48, 67.33, -50.70)
CIE-LCHlch(40.48, 84.28, 323.02°)
OKLaboklab(51.71% 0.1755 -0.1423)
OKLCHoklch(51.71% 0.226 321)
XYZxyz(22.8278, 11.5456, 44.1973)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1FB4 #35B41F
analogous
#541FB4 #9E1FB4 #B41F80
triadic
#9E1FB4 #B49E1F #1FB49E
tetradic
#9E1FB4 #B4541F #35B41F #1F80B4
square
#9E1FB4 #B4541F #35B41F #1F80B4
split-complementary
#9E1FB4 #80B41F #1FB454
monochromatic
#420D4C #701680 #9E1FB4 #C334DC #D368E5

Accessibility & contrast

On white

6.35
#9E1FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9E1FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1FB4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1FB4#FFFFFF#000000##FFFFFF
##9E1FB41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#9F416C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e1fb4;
/* rgb */ color: rgb(158, 31, 180);
/* oklch */ color: oklch(51.7% 0.226 321.0);
Tailwind
colors: {
  custom: {
    50: '#bf6dcb',
    500: '#9e1fb4',
    950: '#000000',
  },
}
SCSS
$custom: #9e1fb4;
$custom-light: #bf6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1fb4",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 291.141,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.22591,
    "h": 321
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#9E1FB4
secondary
#73CB64
accent
#ED3A55
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9E1FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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