#9F2E99#9F2E99

#9F2E99 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.191 H 330.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9F2E99
RGBrgb(159, 46, 153)
HSLhsl(303, 55%, 40%)
HSVhsv(303, 71%, 62%)
CMYKcmyk(0%, 71.1%, 3.8%, 37.6%)
CIE-LABlab(40.62, 58.35, -34.34)
CIE-LCHlch(40.62, 67.71, 329.53°)
OKLaboklab(51.31% 0.1654 -0.0947)
OKLCHoklch(51.31% 0.191 330.2)
XYZxyz(21.0247, 11.6264, 31.2676)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E99 #2E9F34
analogous
#6D2E9F #9F2E99 #9F2E60
triadic
#9F2E99 #999F2E #2E999F
tetradic
#9F2E99 #9F6D2E #2E9F34 #2E609F
square
#9F2E99 #9F6D2E #2E9F34 #2E609F
split-complementary
#9F2E99 #609F2E #2E9F6D
monochromatic
#40133E #70206B #9F2E99 #C842C1 #D671D1

Accessibility & contrast

On white

6.32
#9F2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2E99
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E99#FFFFFF#000000##FFFFFF
##9F2E991.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569C
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#A53C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2e99;
/* rgb */ color: rgb(159, 46, 153);
/* oklch */ color: oklch(51.3% 0.191 330.2);
Tailwind
colors: {
  custom: {
    50: '#bf72b7',
    500: '#9f2e99',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e99;
$custom-light: #bf72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e99",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 303.186,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.19058,
    "h": 330.2
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#9F2E99
secondary
#6BBE70
accent
#DE5149
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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