#9740AE#9740AE

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

Color values

HEX#9740AE
RGBrgb(151, 64, 174)
HSLhsl(287, 46%, 47%)
HSVhsv(287, 63%, 68%)
CMYKcmyk(13.2%, 63.2%, 0%, 31.8%)
CIE-LABlab(43.22, 52.84, -42.83)
CIE-LCHlch(43.22, 68.02, 320.97°)
OKLaboklab(53.32% 0.1361 -0.1197)
OKLCHoklch(53.32% 0.181 318.7)
XYZxyz(22.2349, 13.3030, 41.4327)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740AE #57AE40
analogous
#6040AE #9740AE #AE408E
triadic
#9740AE #AE9740 #40AE97
tetradic
#9740AE #AE6040 #57AE40 #408EAE
square
#9740AE #AE6040 #57AE40 #408EAE
split-complementary
#9740AE #8EAE40 #40AE60
monochromatic
#491F55 #703081 #9740AE #B265C6 #C892D7

Accessibility & contrast

On white

5.74
#9740AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9740AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740AE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740AE#FFFFFF#000000##FFFFFF
##9740AE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#975371
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9740ae;
/* rgb */ color: rgb(151, 64, 174);
/* oklch */ color: oklch(53.3% 0.181 318.7);
Tailwind
colors: {
  custom: {
    50: '#b97ac7',
    500: '#9740ae',
    950: '#000000',
  },
}
SCSS
$custom: #9740ae;
$custom-light: #b97ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9740ae",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 287.455,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.18123,
    "h": 318.7
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#9740AE
secondary
#94C288
accent
#D6526E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9740AE

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

Preview Lab → · Contrast checker → · Palette generator →

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