#9E1FA8#9E1FA8

#9E1FA8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.217 H 324.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9E1FA8
RGBrgb(158, 31, 168)
HSLhsl(296, 69%, 39%)
HSVhsv(296, 82%, 66%)
CMYKcmyk(6%, 81.5%, 0%, 34.1%)
CIE-LABlab(39.71, 65.26, -44.80)
CIE-LCHlch(39.71, 79.16, 325.53°)
OKLaboklab(50.91% 0.1769 -0.125)
OKLCHoklch(50.91% 0.217 324.7)
XYZxyz(21.6579, 11.0777, 38.0357)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1FA8 #29A81F
analogous
#591FA8 #9E1FA8 #A81F6E
triadic
#9E1FA8 #A89E1F #1FA89E
tetradic
#9E1FA8 #A8591F #29A81F #1F6EA8
square
#9E1FA8 #A8591F #29A81F #1F6EA8
split-complementary
#9E1FA8 #6EA81F #1FA859
monochromatic
#3D0C41 #6D1574 #9E1FA8 #CC2CD8 #D860E2

Accessibility & contrast

On white

6.53
#9E1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9E1FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1FA8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1FA8#FFFFFF#000000##FFFFFF
##9E1FA81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#3E63A5
Tritanopia (blue-blind)
#A13B65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e1fa8;
/* rgb */ color: rgb(158, 31, 168);
/* oklch */ color: oklch(50.9% 0.217 324.7);
Tailwind
colors: {
  custom: {
    50: '#bf6cc2',
    500: '#9e1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #9e1fa8;
$custom-light: #bf6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1fa8",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 295.62,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.21664,
    "h": 324.7
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#9E1FA8
secondary
#64C65D
accent
#EC3C49
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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