#9F1F90#9F1F90

#9F1F90 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 333.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F1F90
RGBrgb(159, 31, 144)
HSLhsl(307, 67%, 37%)
HSVhsv(307, 81%, 62%)
CMYKcmyk(0%, 80.5%, 9.4%, 37.6%)
CIE-LABlab(38.49, 61.63, -32.22)
CIE-LCHlch(38.49, 69.55, 332.40°)
OKLaboklab(49.63% 0.1787 -0.0884)
OKLCHoklch(49.63% 0.199 333.7)
XYZxyz(19.8223, 10.3663, 27.3371)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F90 #1F9F2E
analogous
#6E1F9F #9F1F90 #9F1F50
triadic
#9F1F90 #909F1F #1F909F
tetradic
#9F1F90 #9F6E1F #1F9F2E #1F509F
square
#9F1F90 #9F6E1F #1F9F2E #1F509F
split-complementary
#9F1F90 #509F1F #1F9F6E
monochromatic
#390B33 #6C1562 #9F1F90 #D229BE #DF5ACF

Accessibility & contrast

On white

6.83
#9F1F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1F90
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F90#FFFFFF#000000##FFFFFF
##9F1F901.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F93
Deuteranopia (green-blind)
#4E618D
Tritanopia (blue-blind)
#A72D57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1f90;
/* rgb */ color: rgb(159, 31, 144);
/* oklch */ color: oklch(49.6% 0.199 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf6bb1',
    500: '#9f1f90',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f90;
$custom-light: #bf6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f90",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 307.031,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.1994,
    "h": 333.7
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#9F1F90
secondary
#57C364
accent
#EA523E
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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