#9F1EA0#9F1EA0

#9F1EA0 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.212 H 327.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F1EA0
RGBrgb(159, 30, 160)
HSLhsl(300, 68%, 37%)
HSVhsv(300, 81%, 63%)
CMYKcmyk(0.6%, 81.3%, 0%, 37.3%)
CIE-LABlab(39.31, 64.39, -40.63)
CIE-LCHlch(39.31, 76.14, 327.74°)
OKLaboklab(50.5% 0.1793 -0.1128)
OKLCHoklch(50.5% 0.212 327.8)
XYZxyz(21.1072, 10.8391, 34.2313)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1EA0 #1FA01E
analogous
#5E1EA0 #9F1EA0 #A01E60
triadic
#9F1EA0 #A09F1E #1EA09F
tetradic
#9F1EA0 #A05E1E #1FA01E #1E60A0
square
#9F1EA0 #A05E1E #1FA01E #1E60A0
split-complementary
#9F1EA0 #60A01E #1EA05E
monochromatic
#390B39 #6C146C #9F1EA0 #D228D4 #DF59E0

Accessibility & contrast

On white

6.63
#9F1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F1EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1EA0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1EA0#FFFFFF#000000##FFFFFF
##9F1EA01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#A43660
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f1ea0;
/* rgb */ color: rgb(159, 30, 160);
/* oklch */ color: oklch(50.5% 0.212 327.8);
Tailwind
colors: {
  custom: {
    50: '#bf6cbd',
    500: '#9f1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9f1ea0;
$custom-light: #bf6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1ea0",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 299.538,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.21184,
    "h": 327.8
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#9F1EA0
secondary
#57C456
accent
#EB3D3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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