#9939AF#9939AF

#9939AF is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.193 H 319.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9939AF
RGBrgb(153, 57, 175)
HSLhsl(289, 51%, 45%)
HSVhsv(289, 67%, 69%)
CMYKcmyk(12.6%, 67.4%, 0%, 31.4%)
CIE-LABlab(42.45, 56.60, -44.63)
CIE-LCHlch(42.45, 72.08, 321.75°)
OKLaboklab(52.85% 0.1467 -0.1248)
OKLCHoklch(52.85% 0.193 319.6)
XYZxyz(22.3369, 12.7948, 41.8422)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939AF #4FAF39
analogous
#5E39AF #9939AF #AF398A
triadic
#9939AF #AF9939 #39AF99
tetradic
#9939AF #AF5E39 #4FAF39 #398AAF
square
#9939AF #AF5E39 #4FAF39 #398AAF
split-complementary
#9939AF #8AAF39 #39AF5E
monochromatic
#481B53 #712A81 #9939AF #B55BCA #CA8AD9

Accessibility & contrast

On white

5.90
#9939AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9939AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939AF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939AF#FFFFFF#000000##FFFFFF
##9939AF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#994E6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9939af;
/* rgb */ color: rgb(153, 57, 175);
/* oklch */ color: oklch(52.8% 0.193 319.6);
Tailwind
colors: {
  custom: {
    50: '#ba77c7',
    500: '#9939af',
    950: '#000000',
  },
}
SCSS
$custom: #9939af;
$custom-light: #ba77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9939af",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 288.814,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.19262,
    "h": 319.6
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#9939AF
secondary
#8DC381
accent
#DA4D68
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9939AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9939AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva