#9738AD#9738AD

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

Color values

HEX#9738AD
RGBrgb(151, 56, 173)
HSLhsl(289, 51%, 45%)
HSVhsv(289, 68%, 68%)
CMYKcmyk(12.7%, 67.6%, 0%, 32.2%)
CIE-LABlab(41.88, 56.18, -44.36)
CIE-LCHlch(41.88, 71.58, 321.70°)
OKLaboklab(52.34% 0.1454 -0.1241)
OKLCHoklch(52.34% 0.191 319.5)
XYZxyz(21.7185, 12.4258, 40.7815)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738AD #4EAD38
analogous
#5D38AD #9738AD #AD3889
triadic
#9738AD #AD9738 #38AD97
tetradic
#9738AD #AD5D38 #4EAD38 #3889AD
square
#9738AD #AD5D38 #4EAD38 #3889AD
split-complementary
#9738AD #89AD38 #38AD5D
monochromatic
#461A51 #6F297F #9738AD #B459C9 #C987D8

Accessibility & contrast

On white

6.03
#9738AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9738AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738AD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738AD#FFFFFF#000000##FFFFFF
##9738AD1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CB0
Deuteranopia (green-blind)
#4166AA
Tritanopia (blue-blind)
#974D6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9738ad;
/* rgb */ color: rgb(151, 56, 173);
/* oklch */ color: oklch(52.3% 0.191 319.5);
Tailwind
colors: {
  custom: {
    50: '#b976c6',
    500: '#9738ad',
    950: '#000000',
  },
}
SCSS
$custom: #9738ad;
$custom-light: #b976c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9738ad",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 288.718,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.19121,
    "h": 319.5
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#9738AD
secondary
#8BC27F
accent
#DB4D68
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9738AD

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

Preview Lab → · Contrast checker → · Palette generator →

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