#9740AC#9740AC

#9740AC is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.179 H 319.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9740AC
RGBrgb(151, 64, 172)
HSLhsl(288, 46%, 46%)
HSVhsv(288, 63%, 67%)
CMYKcmyk(12.2%, 62.8%, 0%, 32.5%)
CIE-LABlab(43.10, 52.44, -41.83)
CIE-LCHlch(43.10, 67.08, 321.42°)
OKLaboklab(53.2% 0.1361 -0.1168)
OKLCHoklch(53.2% 0.179 319.4)
XYZxyz(22.0413, 13.2256, 40.4135)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740AC #55AC40
analogous
#6140AC #9740AC #AC408B
triadic
#9740AC #AC9740 #40AC97
tetradic
#9740AC #AC6140 #55AC40 #408BAC
square
#9740AC #AC6140 #55AC40 #408BAC
split-complementary
#9740AC #8BAC40 #40AC61
monochromatic
#491F53 #702F7F #9740AC #B264C5 #C891D6

Accessibility & contrast

On white

5.76
#9740AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9740AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740AC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740AC#FFFFFF#000000##FFFFFF
##9740AC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#4769A9
Tritanopia (blue-blind)
#975270
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9740ac;
/* rgb */ color: rgb(151, 64, 172);
/* oklch */ color: oklch(53.2% 0.179 319.4);
Tailwind
colors: {
  custom: {
    50: '#b87ac5',
    500: '#9740ac',
    950: '#000000',
  },
}
SCSS
$custom: #9740ac;
$custom-light: #b87ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9740ac",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 288.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.532,
    "c": 0.17931,
    "h": 319.4
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#9740AC
secondary
#92C187
accent
#D5526C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9740AC

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

Preview Lab → · Contrast checker → · Palette generator →

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