#9F1E92#9F1E92

#9F1E92 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.202 H 332.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F1E92
RGBrgb(159, 30, 146)
HSLhsl(306, 68%, 37%)
HSVhsv(306, 81%, 62%)
CMYKcmyk(0%, 81.1%, 8.2%, 37.6%)
CIE-LABlab(38.51, 62.19, -33.41)
CIE-LCHlch(38.51, 70.60, 331.75°)
OKLaboklab(49.68% 0.1795 -0.0919)
OKLCHoklch(49.68% 0.202 332.9)
XYZxyz(19.9508, 10.3765, 28.1407)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E92 #1E9F2B
analogous
#6C1E9F #9F1E92 #9F1E51
triadic
#9F1E92 #929F1E #1E929F
tetradic
#9F1E92 #9F6C1E #1E9F2B #1E519F
square
#9F1E92 #9F6C1E #1E9F2B #1E519F
split-complementary
#9F1E92 #519F1E #1E9F6C
monochromatic
#380B33 #6C1463 #9F1E92 #D228C1 #DF58D2

Accessibility & contrast

On white

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

On black

3.08
#9F1E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F1E92#FFFFFF#000000##FFFFFF
##9F1E921.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#A62E58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1e92;
/* rgb */ color: rgb(159, 30, 146);
/* oklch */ color: oklch(49.7% 0.202 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bb2',
    500: '#9f1e92',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e92;
$custom-light: #bf6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e92",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 306.047,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.20167,
    "h": 332.9
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#9F1E92
secondary
#56C361
accent
#EB4E3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1E92

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

Preview Lab → · Contrast checker → · Palette generator →

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