#9F339E#9F339E

#9F339E is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.188 H 328.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9F339E
RGBrgb(159, 51, 158)
HSLhsl(301, 51%, 41%)
HSVhsv(301, 68%, 62%)
CMYKcmyk(0%, 67.9%, 0.6%, 37.6%)
CIE-LABlab(41.55, 57.33, -35.88)
CIE-LCHlch(41.55, 67.63, 327.96°)
OKLaboklab(52.07% 0.1603 -0.0992)
OKLCHoklch(52.07% 0.188 328.3)
XYZxyz(21.6532, 12.2087, 33.5572)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F339E #339F34
analogous
#6A339F #9F339E #9F3368
triadic
#9F339E #9E9F33 #339E9F
tetradic
#9F339E #9F6A33 #339F34 #33689F
square
#9F339E #9F6A33 #339F34 #33689F
split-complementary
#9F339E #689F33 #339F6A
monochromatic
#421542 #712470 #9F339E #C54AC4 #D479D3

Accessibility & contrast

On white

6.10
#9F339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9F339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F339E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F339E#FFFFFF#000000##FFFFFF
##9F339E1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#A44264
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f339e;
/* rgb */ color: rgb(159, 51, 158);
/* oklch */ color: oklch(52.1% 0.188 328.3);
Tailwind
colors: {
  custom: {
    50: '#bf74bb',
    500: '#9f339e',
    950: '#000000',
  },
}
SCSS
$custom: #9f339e;
$custom-light: #bf74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f339e",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 300.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.18848,
    "h": 328.3
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#9F339E
secondary
#71BC72
accent
#DB4E4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F339E

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

Preview Lab → · Contrast checker → · Palette generator →

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