#9F1995#9F1995

#9F1995 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.208 H 331.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F1995
RGBrgb(159, 25, 149)
HSLhsl(304, 73%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 84.3%, 6.3%, 37.6%)
CIE-LABlab(38.27, 63.84, -35.63)
CIE-LCHlch(38.27, 73.11, 330.83°)
OKLaboklab(49.56% 0.183 -0.0983)
OKLCHoklch(49.56% 0.208 331.8)
XYZxyz(20.0706, 10.2378, 29.3470)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1995 #199F23
analogous
#66199F #9F1995 #9F1952
triadic
#9F1995 #959F19 #19959F
tetradic
#9F1995 #9F6619 #199F23 #19529F
square
#9F1995 #9F6619 #199F23 #19529F
split-complementary
#9F1995 #529F19 #199F66
monochromatic
#350832 #6A1163 #9F1995 #D421C7 #E34FD8

Accessibility & contrast

On white

6.89
#9F1995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F1995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1995
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1995#FFFFFF#000000##FFFFFF
##9F19951.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A62D59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1995;
/* rgb */ color: rgb(159, 25, 149);
/* oklch */ color: oklch(49.6% 0.208 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ab4',
    500: '#9f1995',
    950: '#000000',
  },
}
SCSS
$custom: #9f1995;
$custom-light: #bf6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1995",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 304.478,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.20772,
    "h": 331.8
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#9F1995
secondary
#4EC657
accent
#F04638
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1995

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

Preview Lab → · Contrast checker → · Palette generator →

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