#9E1F93#9E1F93

#9E1F93 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.201 H 332.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E1F93
RGBrgb(158, 31, 147)
HSLhsl(305, 67%, 37%)
HSVhsv(305, 80%, 62%)
CMYKcmyk(0%, 80.4%, 7%, 38%)
CIE-LABlab(38.48, 61.87, -34.09)
CIE-LCHlch(38.48, 70.64, 331.15°)
OKLaboklab(49.64% 0.1778 -0.0939)
OKLCHoklch(49.64% 0.201 332.2)
XYZxyz(19.8571, 10.3574, 28.5515)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F93 #1F9E2A
analogous
#6A1F9E #9E1F93 #9E1F54
triadic
#9E1F93 #939E1F #1F939E
tetradic
#9E1F93 #9E6A1F #1F9E2A #1F549E
square
#9E1F93 #9E6A1F #1F9E2A #1F549E
split-complementary
#9E1F93 #549E1F #1F9E6A
monochromatic
#380B34 #6B1563 #9E1F93 #D129C3 #DE59D3

Accessibility & contrast

On white

6.84
#9E1F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E1F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1F93
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F93#FFFFFF#000000##FFFFFF
##9E1F931.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F96
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#A53059
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1f93;
/* rgb */ color: rgb(158, 31, 147);
/* oklch */ color: oklch(49.6% 0.201 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf6bb3',
    500: '#9e1f93',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f93;
$custom-light: #bf6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f93",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 305.197,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.20103,
    "h": 332.2
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#9E1F93
secondary
#56C260
accent
#EA4D3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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