#9740AD#9740AD

#9740AD is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.3% C 0.180 H 319.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9740AD
RGBrgb(151, 64, 173)
HSLhsl(288, 46%, 46%)
HSVhsv(288, 63%, 68%)
CMYKcmyk(12.7%, 63%, 0%, 32.2%)
CIE-LABlab(43.16, 52.64, -42.33)
CIE-LCHlch(43.16, 67.55, 321.19°)
OKLaboklab(53.26% 0.1361 -0.1183)
OKLCHoklch(53.26% 0.18 319)
XYZxyz(22.1377, 13.2642, 40.9212)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740AD #56AD40
analogous
#6140AD #9740AD #AD408D
triadic
#9740AD #AD9740 #40AD97
tetradic
#9740AD #AD6140 #56AD40 #408DAD
square
#9740AD #AD6140 #56AD40 #408DAD
split-complementary
#9740AD #8DAD40 #40AD61
monochromatic
#491F54 #702F80 #9740AD #B264C6 #C891D6

Accessibility & contrast

On white

5.75
#9740AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9740AD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740AD#FFFFFF#000000##FFFFFF
##9740AD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#975271
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9740ad;
/* rgb */ color: rgb(151, 64, 173);
/* oklch */ color: oklch(53.3% 0.180 319.0);
Tailwind
colors: {
  custom: {
    50: '#b97ac6',
    500: '#9740ad',
    950: '#000000',
  },
}
SCSS
$custom: #9740ad;
$custom-light: #b97ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#9740ad",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 287.89,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.18027,
    "h": 319
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#9740AD
secondary
#93C287
accent
#D6526D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9740AD

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

Preview Lab → · Contrast checker → · Palette generator →

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