#9F2096#9F2096

#9F2096 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.203 H 331.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F2096
RGBrgb(159, 32, 150)
HSLhsl(304, 66%, 37%)
HSVhsv(304, 80%, 62%)
CMYKcmyk(0%, 79.9%, 5.7%, 37.6%)
CIE-LABlab(38.91, 62.28, -35.21)
CIE-LCHlch(38.91, 71.55, 330.52°)
OKLaboklab(50.04% 0.1781 -0.0971)
OKLCHoklch(50.04% 0.203 331.4)
XYZxyz(20.3196, 10.6077, 29.8255)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2096 #209F29
analogous
#69209F #9F2096 #9F2056
triadic
#9F2096 #969F20 #20969F
tetradic
#9F2096 #9F6920 #209F29 #20569F
square
#9F2096 #9F6920 #209F29 #20569F
split-complementary
#9F2096 #569F20 #209F69
monochromatic
#390B36 #6C1666 #9F2096 #D22AC6 #DE5BD5

Accessibility & contrast

On white

6.73
#9F2096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2096
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2096#FFFFFF#000000##FFFFFF
##9F20961.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115199
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#A6315B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2096;
/* rgb */ color: rgb(159, 32, 150);
/* oklch */ color: oklch(50.0% 0.203 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6cb5',
    500: '#9f2096',
    950: '#000000',
  },
}
SCSS
$custom: #9f2096;
$custom-light: #bf6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2096",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 304.252,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.20281,
    "h": 331.4
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#9F2096
secondary
#59C260
accent
#E94B3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F2096

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

Preview Lab → · Contrast checker → · Palette generator →

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