#9938AE#9938AE

#9938AE is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.7% C 0.193 H 320.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9938AE
RGBrgb(153, 56, 174)
HSLhsl(289, 51%, 45%)
HSVhsv(289, 68%, 68%)
CMYKcmyk(12.1%, 67.8%, 0%, 31.8%)
CIE-LABlab(42.24, 56.83, -44.37)
CIE-LCHlch(42.24, 72.10, 322.02°)
OKLaboklab(52.68% 0.1478 -0.1241)
OKLCHoklch(52.68% 0.193 320)
XYZxyz(22.1901, 12.6577, 41.3105)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938AE #4DAE38
analogous
#5E38AE #9938AE #AE3888
triadic
#9938AE #AE9938 #38AE99
tetradic
#9938AE #AE5E38 #4DAE38 #3888AE
square
#9938AE #AE5E38 #4DAE38 #3888AE
split-complementary
#9938AE #88AE38 #38AE5E
monochromatic
#481A51 #702980 #9938AE #B659CA #CA88D9

Accessibility & contrast

On white

5.95
#9938AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9938AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9938AE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938AE#FFFFFF#000000##FFFFFF
##9938AE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5DB1
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#9A4D6F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9938ae;
/* rgb */ color: rgb(153, 56, 174);
/* oklch */ color: oklch(52.7% 0.193 320.0);
Tailwind
colors: {
  custom: {
    50: '#ba76c7',
    500: '#9938ae',
    950: '#000000',
  },
}
SCSS
$custom: #9938ae;
$custom-light: #ba76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9938ae",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 289.322,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.19301,
    "h": 320
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#9938AE
secondary
#8BC37F
accent
#DB4D66
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9938AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9938AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva