#9738AB#9738AB

#9738AB is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.189 H 320.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9738AB
RGBrgb(151, 56, 171)
HSLhsl(290, 51%, 45%)
HSVhsv(290, 67%, 67%)
CMYKcmyk(11.7%, 67.3%, 0%, 32.9%)
CIE-LABlab(41.77, 55.79, -43.37)
CIE-LCHlch(41.77, 70.66, 322.14°)
OKLaboklab(52.22% 0.1455 -0.1212)
OKLCHoklch(52.22% 0.189 320.2)
XYZxyz(21.5265, 12.3490, 39.7699)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738AB #4CAB38
analogous
#5D38AB #9738AB #AB3886
triadic
#9738AB #AB9738 #38AB97
tetradic
#9738AB #AB5D38 #4CAB38 #3886AB
square
#9738AB #AB5D38 #4CAB38 #3886AB
split-complementary
#9738AB #86AB38 #38AB5D
monochromatic
#461A4F #6E297D #9738AB #B558C8 #C986D7

Accessibility & contrast

On white

6.05
#9738AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9738AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738AB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738AB#FFFFFF#000000##FFFFFF
##9738AB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#4266A8
Tritanopia (blue-blind)
#984C6D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9738ab;
/* rgb */ color: rgb(151, 56, 171);
/* oklch */ color: oklch(52.2% 0.189 320.2);
Tailwind
colors: {
  custom: {
    50: '#b976c4',
    500: '#9738ab',
    950: '#000000',
  },
}
SCSS
$custom: #9738ab;
$custom-light: #b976c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9738ab",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 289.565,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.18938,
    "h": 320.2
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#9738AB
secondary
#89C17D
accent
#DA4E66
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9738AB

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

Preview Lab → · Contrast checker → · Palette generator →

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