#9F1E95#9F1E95

#9F1E95 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.204 H 331.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F1E95
RGBrgb(159, 30, 149)
HSLhsl(305, 68%, 37%)
HSVhsv(305, 81%, 62%)
CMYKcmyk(0%, 81.1%, 6.3%, 37.6%)
CIE-LABlab(38.67, 62.65, -34.98)
CIE-LCHlch(38.67, 71.76, 330.82°)
OKLaboklab(49.85% 0.1796 -0.0964)
OKLCHoklch(49.85% 0.204 331.8)
XYZxyz(20.1872, 10.4711, 29.3859)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E95 #1E9F28
analogous
#691E9F #9F1E95 #9F1E55
triadic
#9F1E95 #959F1E #1E959F
tetradic
#9F1E95 #9F691E #1E9F28 #1E559F
square
#9F1E95 #9F691E #1E9F28 #1E559F
split-complementary
#9F1E95 #559F1E #1E9F69
monochromatic
#380B35 #6C1465 #9F1E95 #D228C5 #DF58D5

Accessibility & contrast

On white

6.79
#9F1E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F1E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E95
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E95#FFFFFF#000000##FFFFFF
##9F1E951.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#4B6192
Tritanopia (blue-blind)
#A6305A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1e95;
/* rgb */ color: rgb(159, 30, 149);
/* oklch */ color: oklch(49.9% 0.204 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9f1e95',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e95;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e95",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 304.651,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.20381,
    "h": 331.8
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#9F1E95
secondary
#56C35E
accent
#EB4A3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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