#9740A3#9740A3

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

Color values

HEX#9740A3
RGBrgb(151, 64, 163)
HSLhsl(293, 44%, 45%)
HSVhsv(293, 61%, 64%)
CMYKcmyk(7.4%, 60.7%, 0%, 36.1%)
CIE-LABlab(42.60, 50.67, -37.28)
CIE-LCHlch(42.60, 62.91, 323.66°)
OKLaboklab(52.67% 0.1357 -0.1035)
OKLCHoklch(52.67% 0.171 322.7)
XYZxyz(21.2061, 12.8915, 36.0145)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740A3 #4CA340
analogous
#6640A3 #9740A3 #A3407E
triadic
#9740A3 #A39740 #40A397
tetradic
#9740A3 #A36640 #4CA340 #407EA3
square
#9740A3 #A36640 #4CA340 #407EA3
split-complementary
#9740A3 #7EA340 #40A366
monochromatic
#461D4B #6E2F77 #9740A3 #B560C0 #C98CD2

Accessibility & contrast

On white

5.87
#9740A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9740A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740A3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740A3#FFFFFF#000000##FFFFFF
##9740A31.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#994F6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9740a3;
/* rgb */ color: rgb(151, 64, 163);
/* oklch */ color: oklch(52.7% 0.171 322.7);
Tailwind
colors: {
  custom: {
    50: '#b87abf',
    500: '#9740a3',
    950: '#000000',
  },
}
SCSS
$custom: #9740a3;
$custom-light: #b87abf;
$custom-dark: #000000;
JSON
{
  "hex": "#9740a3",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 292.727,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.17072,
    "h": 322.7
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#9740A3
secondary
#89BD82
accent
#D35464
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9740A3

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

Preview Lab → · Contrast checker → · Palette generator →

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