#9740A8#9740A8

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

Color values

HEX#9740A8
RGBrgb(151, 64, 168)
HSLhsl(290, 45%, 45%)
HSVhsv(290, 62%, 66%)
CMYKcmyk(10.1%, 61.9%, 0%, 34.1%)
CIE-LABlab(42.88, 51.65, -39.82)
CIE-LCHlch(42.88, 65.22, 322.37°)
OKLaboklab(52.96% 0.1359 -0.1109)
OKLCHoklch(52.96% 0.175 320.8)
XYZxyz(21.6630, 13.0743, 38.4207)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740A8 #51A840
analogous
#6340A8 #9740A8 #A84085
triadic
#9740A8 #A89740 #40A897
tetradic
#9740A8 #A86340 #51A840 #4085A8
square
#9740A8 #A86340 #51A840 #4085A8
split-complementary
#9740A8 #85A840 #40A863
monochromatic
#471E4F #6F2F7C #9740A8 #B362C3 #C98ED4

Accessibility & contrast

On white

5.81
#9740A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9740A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740A8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740A8#FFFFFF#000000##FFFFFF
##9740A81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAB
Deuteranopia (green-blind)
#4A68A5
Tritanopia (blue-blind)
#98516E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9740a8;
/* rgb */ color: rgb(151, 64, 168);
/* oklch */ color: oklch(53.0% 0.175 320.8);
Tailwind
colors: {
  custom: {
    50: '#b87ac2',
    500: '#9740a8',
    950: '#000000',
  },
}
SCSS
$custom: #9740a8;
$custom-light: #b87ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#9740a8",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 168
  },
  "hsl": {
    "h": 290.192,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.17546,
    "h": 320.8
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#9740A8
secondary
#8EBF85
accent
#D55368
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9740A8

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

Preview Lab → · Contrast checker → · Palette generator →

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