#9738AC#9738AC

#9738AC is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.190 H 319.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9738AC
RGBrgb(151, 56, 172)
HSLhsl(289, 51%, 45%)
HSVhsv(289, 67%, 67%)
CMYKcmyk(12.2%, 67.4%, 0%, 32.5%)
CIE-LABlab(41.83, 55.98, -43.87)
CIE-LCHlch(41.83, 71.12, 321.92°)
OKLaboklab(52.28% 0.1455 -0.1227)
OKLCHoklch(52.28% 0.19 319.9)
XYZxyz(21.6221, 12.3872, 40.2738)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738AC #4DAC38
analogous
#5D38AC #9738AC #AC3887
triadic
#9738AC #AC9738 #38AC97
tetradic
#9738AC #AC5D38 #4DAC38 #3887AC
square
#9738AC #AC5D38 #4DAC38 #3887AC
split-complementary
#9738AC #87AC38 #38AC5D
monochromatic
#461A50 #6E297E #9738AC #B458C9 #C987D8

Accessibility & contrast

On white

6.04
#9738AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9738AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738AC#FFFFFF#000000##FFFFFF
##9738AC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAF
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#984D6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9738ac;
/* rgb */ color: rgb(151, 56, 172);
/* oklch */ color: oklch(52.3% 0.190 319.9);
Tailwind
colors: {
  custom: {
    50: '#b976c5',
    500: '#9738ac',
    950: '#000000',
  },
}
SCSS
$custom: #9738ac;
$custom-light: #b976c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9738ac",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 289.138,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.19029,
    "h": 319.9
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#9738AC
secondary
#8AC27E
accent
#DA4D67
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9738AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9738AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva