#9740A9#9740A9

#9740A9 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.0% C 0.176 H 320.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9740A9
RGBrgb(151, 64, 169)
HSLhsl(290, 45%, 46%)
HSVhsv(290, 62%, 66%)
CMYKcmyk(10.7%, 62.1%, 0%, 33.7%)
CIE-LABlab(42.93, 51.84, -40.33)
CIE-LCHlch(42.93, 65.68, 322.12°)
OKLaboklab(53.02% 0.136 -0.1124)
OKLCHoklch(53.02% 0.176 320.4)
XYZxyz(21.7565, 13.1117, 38.9132)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740A9 #52A940
analogous
#6240A9 #9740A9 #A94086
triadic
#9740A9 #A99740 #40A997
tetradic
#9740A9 #A96240 #52A940 #4086A9
square
#9740A9 #A96240 #52A940 #4086A9
split-complementary
#9740A9 #86A940 #40A962
monochromatic
#481E50 #6F2F7D #9740A9 #B362C4 #C98FD5

Accessibility & contrast

On white

5.80
#9740A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9740A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740A9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740A9#FFFFFF#000000##FFFFFF
##9740A91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#4969A6
Tritanopia (blue-blind)
#98516F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9740a9;
/* rgb */ color: rgb(151, 64, 169);
/* oklch */ color: oklch(53.0% 0.176 320.4);
Tailwind
colors: {
  custom: {
    50: '#b87ac3',
    500: '#9740a9',
    950: '#000000',
  },
}
SCSS
$custom: #9740a9;
$custom-light: #b87ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#9740a9",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 289.714,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.17642,
    "h": 320.4
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#9740A9
secondary
#8FC085
accent
#D55369
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9740A9

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

Preview Lab → · Contrast checker → · Palette generator →

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