#9F1EB3#9F1EB3

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

Color values

HEX#9F1EB3
RGBrgb(159, 30, 179)
HSLhsl(292, 71%, 41%)
HSVhsv(292, 83%, 70%)
CMYKcmyk(11.2%, 83.2%, 0%, 29.8%)
CIE-LABlab(40.50, 67.58, -50.07)
CIE-LCHlch(40.50, 84.11, 323.46°)
OKLaboklab(51.73% 0.1774 -0.1404)
OKLCHoklch(51.73% 0.226 321.6)
XYZxyz(22.8981, 11.5555, 43.6634)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1EB3 #32B31E
analogous
#541EB3 #9F1EB3 #B31E7C
triadic
#9F1EB3 #B39F1E #1EB39F
tetradic
#9F1EB3 #B3541E #32B31E #1E7CB3
square
#9F1EB3 #B3541E #32B31E #1E7CB3
split-complementary
#9F1EB3 #7CB31E #1EB354
monochromatic
#420C4A #70157F #9F1EB3 #C632DD #D466E5

Accessibility & contrast

On white

6.34
#9F1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1EB3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1EB3#FFFFFF#000000##FFFFFF
##9F1EB31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#A0406B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f1eb3;
/* rgb */ color: rgb(159, 30, 179);
/* oklch */ color: oklch(51.7% 0.226 321.6);
Tailwind
colors: {
  custom: {
    50: '#c06dca',
    500: '#9f1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9f1eb3;
$custom-light: #c06dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1eb3",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 291.946,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.22626,
    "h": 321.6
  },
  "luminance": 0.11554
}

Semantic roles & 50–950 ramp

primary
#9F1EB3
secondary
#70CB62
accent
#EE3A52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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