#9740A4#9740A4

#9740A4 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.7% C 0.172 H 322.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9740A4
RGBrgb(151, 64, 164)
HSLhsl(292, 44%, 45%)
HSVhsv(292, 61%, 64%)
CMYKcmyk(7.9%, 61%, 0%, 35.7%)
CIE-LABlab(42.65, 50.87, -37.79)
CIE-LCHlch(42.65, 63.37, 323.39°)
OKLaboklab(52.73% 0.1358 -0.105)
OKLCHoklch(52.73% 0.172 322.3)
XYZxyz(21.2960, 12.9275, 36.4883)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740A4 #4DA440
analogous
#6540A4 #9740A4 #A4407F
triadic
#9740A4 #A49740 #40A497
tetradic
#9740A4 #A46540 #4DA440 #407FA4
square
#9740A4 #A46540 #4DA440 #407FA4
split-complementary
#9740A4 #7FA440 #40A465
monochromatic
#461E4C #6E2F78 #9740A4 #B460C1 #C98CD2

Accessibility & contrast

On white

5.86
#9740A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9740A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740A4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740A4#FFFFFF#000000##FFFFFF
##9740A41.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#994F6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9740a4;
/* rgb */ color: rgb(151, 64, 164);
/* oklch */ color: oklch(52.7% 0.172 322.3);
Tailwind
colors: {
  custom: {
    50: '#b87abf',
    500: '#9740a4',
    950: '#000000',
  },
}
SCSS
$custom: #9740a4;
$custom-light: #b87abf;
$custom-dark: #000000;
JSON
{
  "hex": "#9740a4",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 292.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5273,
    "c": 0.17166,
    "h": 322.3
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#9740A4
secondary
#8ABD83
accent
#D45465
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9740A4

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

Preview Lab → · Contrast checker → · Palette generator →

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