#9E1E9F#9E1E9F

#9E1E9F is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.211 H 327.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9E1E9F
RGBrgb(158, 30, 159)
HSLhsl(300, 68%, 37%)
HSVhsv(300, 81%, 62%)
CMYKcmyk(0.6%, 81.1%, 0%, 37.6%)
CIE-LABlab(39.07, 64.03, -40.41)
CIE-LCHlch(39.07, 75.72, 327.74°)
OKLaboklab(50.29% 0.1783 -0.1122)
OKLCHoklch(50.29% 0.211 327.8)
XYZxyz(20.8226, 10.7024, 33.7632)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E9F #1F9F1E
analogous
#5E1E9F #9E1E9F #9F1E60
triadic
#9E1E9F #9F9E1E #1E9F9E
tetradic
#9E1E9F #9F5E1E #1F9F1E #1E609F
square
#9E1E9F #9F5E1E #1F9F1E #1E609F
split-complementary
#9E1E9F #609F1E #1E9F5E
monochromatic
#380B38 #6B146C #9E1E9F #D128D2 #DE58DF

Accessibility & contrast

On white

6.69
#9E1E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9E1E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E9F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E9F#FFFFFF#000000##FFFFFF
##9E1E9F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#A33660
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e1e9f;
/* rgb */ color: rgb(158, 30, 159);
/* oklch */ color: oklch(50.3% 0.211 327.8);
Tailwind
colors: {
  custom: {
    50: '#bf6cbc',
    500: '#9e1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e9f;
$custom-light: #bf6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e9f",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 299.535,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.21066,
    "h": 327.8
  },
  "luminance": 0.10701
}

Semantic roles & 50–950 ramp

primary
#9E1E9F
secondary
#56C356
accent
#EB3D3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9E1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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