#9F2A9E#9F2A9E

#9F2A9E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 328.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9F2A9E
RGBrgb(159, 42, 158)
HSLhsl(301, 58%, 39%)
HSVhsv(301, 74%, 62%)
CMYKcmyk(0%, 73.6%, 0.6%, 37.6%)
CIE-LABlab(40.41, 60.57, -37.69)
CIE-LCHlch(40.41, 71.33, 328.11°)
OKLaboklab(51.25% 0.1695 -0.1043)
OKLCHoklch(51.25% 0.199 328.4)
XYZxyz(21.2974, 11.4970, 33.4386)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A9E #2A9F2B
analogous
#662A9F #9F2A9E #9F2A64
triadic
#9F2A9E #9E9F2A #2A9E9F
tetradic
#9F2A9E #9F662A #2A9F2B #2A649F
square
#9F2A9E #9F662A #2A9F2B #2A649F
split-complementary
#9F2A9E #649F2A #2A9F66
monochromatic
#3E103E #6F1D6E #9F2A9E #CB3BCA #D86BD7

Accessibility & contrast

On white

6.37
#9F2A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9F2A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A9E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A9E#FFFFFF#000000##FFFFFF
##9F2A9E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#4A659B
Tritanopia (blue-blind)
#A43C62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2a9e;
/* rgb */ color: rgb(159, 42, 158);
/* oklch */ color: oklch(51.2% 0.199 328.4);
Tailwind
colors: {
  custom: {
    50: '#bf70bb',
    500: '#9f2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a9e;
$custom-light: #bf70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a9e",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 300.513,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.199,
    "h": 328.4
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#9F2A9E
secondary
#66BF67
accent
#E14846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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