#9F3095#9F3095

#9F3095 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.185 H 331.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9F3095
RGBrgb(159, 48, 149)
HSLhsl(305, 54%, 41%)
HSVhsv(305, 70%, 62%)
CMYKcmyk(0%, 69.8%, 6.3%, 37.6%)
CIE-LABlab(40.66, 56.97, -31.84)
CIE-LCHlch(40.66, 65.26, 330.80°)
OKLaboklab(51.28% 0.1631 -0.0875)
OKLCHoklch(51.28% 0.185 331.8)
XYZxyz(20.7798, 11.6564, 29.5834)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3095 #309F3A
analogous
#71309F #9F3095 #9F305E
triadic
#9F3095 #959F30 #30959F
tetradic
#9F3095 #9F7130 #309F3A #305E9F
square
#9F3095 #9F7130 #309F3A #305E9F
split-complementary
#9F3095 #5E9F30 #309F71
monochromatic
#41143D #702269 #9F3095 #C745BB #D574CC

Accessibility & contrast

On white

6.30
#9F3095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9F3095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3095
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3095#FFFFFF#000000##FFFFFF
##9F30951.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#526592
Tritanopia (blue-blind)
#A63C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f3095;
/* rgb */ color: rgb(159, 48, 149);
/* oklch */ color: oklch(51.3% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf72b4',
    500: '#9f3095',
    950: '#000000',
  },
}
SCSS
$custom: #9f3095;
$custom-light: #bf72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3095",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 305.405,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51278,
    "c": 0.18504,
    "h": 331.8
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#9F3095
secondary
#6EBD75
accent
#DD584B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9F3095

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

Preview Lab → · Contrast checker → · Palette generator →

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