#9738AE#9738AE

#9738AE is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.4% C 0.192 H 319.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9738AE
RGBrgb(151, 56, 174)
HSLhsl(288, 51%, 45%)
HSVhsv(288, 68%, 68%)
CMYKcmyk(13.2%, 67.8%, 0%, 31.8%)
CIE-LABlab(41.95, 56.37, -44.86)
CIE-LCHlch(41.95, 72.04, 321.49°)
OKLaboklab(52.4% 0.1454 -0.1256)
OKLCHoklch(52.4% 0.192 319.2)
XYZxyz(21.8157, 12.4647, 41.2930)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738AE #4FAE38
analogous
#5C38AE #9738AE #AE388A
triadic
#9738AE #AE9738 #38AE97
tetradic
#9738AE #AE5C38 #4FAE38 #388AAE
square
#9738AE #AE5C38 #4FAE38 #388AAE
split-complementary
#9738AE #8AAE38 #38AE5C
monochromatic
#471A51 #6F2980 #9738AE #B459CA #C988D9

Accessibility & contrast

On white

6.01
#9738AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9738AE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738AE#FFFFFF#000000##FFFFFF
##9738AE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075DB1
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#974D6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9738ae;
/* rgb */ color: rgb(151, 56, 174);
/* oklch */ color: oklch(52.4% 0.192 319.2);
Tailwind
colors: {
  custom: {
    50: '#b976c7',
    500: '#9738ae',
    950: '#000000',
  },
}
SCSS
$custom: #9738ae;
$custom-light: #b976c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9738ae",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 288.305,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.19214,
    "h": 319.2
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#9738AE
secondary
#8CC37F
accent
#DB4D69
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9738AE

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

Preview Lab → · Contrast checker → · Palette generator →

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