#9F1EB4#9F1EB4

#9F1EB4 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.8% C 0.227 H 321.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9F1EB4
RGBrgb(159, 30, 180)
HSLhsl(292, 71%, 41%)
HSVhsv(292, 83%, 71%)
CMYKcmyk(11.7%, 83.3%, 0%, 29.4%)
CIE-LABlab(40.57, 67.75, -50.56)
CIE-LCHlch(40.57, 84.54, 323.27°)
OKLaboklab(51.8% 0.1773 -0.1418)
OKLCHoklch(51.8% 0.227 321.3)
XYZxyz(22.9996, 11.5961, 44.1980)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1EB4 #33B41E
analogous
#541EB4 #9F1EB4 #B41E7E
triadic
#9F1EB4 #B49F1E #1EB49F
tetradic
#9F1EB4 #B4541E #33B41E #1E7EB4
square
#9F1EB4 #B4541E #33B41E #1E7EB4
split-complementary
#9F1EB4 #7EB41E #1EB454
monochromatic
#420D4B #711580 #9F1EB4 #C532DD #D467E6

Accessibility & contrast

On white

6.33
#9F1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9F1EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1EB4
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1EB4#FFFFFF#000000##FFFFFF
##9F1EB41.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#A0416C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f1eb4;
/* rgb */ color: rgb(159, 30, 180);
/* oklch */ color: oklch(51.8% 0.227 321.3);
Tailwind
colors: {
  custom: {
    50: '#c06dcb',
    500: '#9f1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #9f1eb4;
$custom-light: #c06dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1eb4",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 291.6,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.22703,
    "h": 321.3
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#9F1EB4
secondary
#71CB63
accent
#EE3A53
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9F1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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