#9E339F#9E339F

#9E339F is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.189 H 327.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9E339F
RGBrgb(158, 51, 159)
HSLhsl(299, 51%, 41%)
HSVhsv(299, 68%, 62%)
CMYKcmyk(0.6%, 67.9%, 0%, 37.6%)
CIE-LABlab(41.44, 57.26, -36.66)
CIE-LCHlch(41.44, 67.99, 327.38°)
OKLaboklab(51.98% 0.1592 -0.1014)
OKLCHoklch(51.98% 0.189 327.5)
XYZxyz(21.5421, 12.1414, 34.0031)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E339F #349F33
analogous
#68339F #9E339F #9F336A
triadic
#9E339F #9F9E33 #339F9E
tetradic
#9E339F #9F6833 #349F33 #336A9F
square
#9E339F #9F6833 #349F33 #336A9F
split-complementary
#9E339F #6A9F33 #339F68
monochromatic
#421542 #702471 #9E339F #C44AC5 #D379D4

Accessibility & contrast

On white

6.13
#9E339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9E339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E339F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E339F#FFFFFF#000000##FFFFFF
##9E339F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#4D679C
Tritanopia (blue-blind)
#A34265
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e339f;
/* rgb */ color: rgb(158, 51, 159);
/* oklch */ color: oklch(52.0% 0.189 327.5);
Tailwind
colors: {
  custom: {
    50: '#be74bc',
    500: '#9e339f',
    950: '#000000',
  },
}
SCSS
$custom: #9e339f;
$custom-light: #be74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e339f",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 299.444,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.18877,
    "h": 327.5
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#9E339F
secondary
#72BC71
accent
#DB4D4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9E339F

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

Preview Lab → · Contrast checker → · Palette generator →

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