#9740AF#9740AF

#9740AF is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.182 H 318.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9740AF
RGBrgb(151, 64, 175)
HSLhsl(287, 46%, 47%)
HSVhsv(287, 63%, 69%)
CMYKcmyk(13.7%, 63.4%, 0%, 31.4%)
CIE-LABlab(43.27, 53.04, -43.33)
CIE-LCHlch(43.27, 68.49, 320.75°)
OKLaboklab(53.38% 0.1361 -0.1212)
OKLCHoklch(53.38% 0.182 318.3)
XYZxyz(22.3327, 13.3422, 41.9480)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740AF #58AF40
analogous
#6040AF #9740AF #AF4090
triadic
#9740AF #AF9740 #40AF97
tetradic
#9740AF #AF6040 #58AF40 #4090AF
square
#9740AF #AF6040 #58AF40 #4090AF
split-complementary
#9740AF #90AF40 #40AF60
monochromatic
#4A1F55 #703082 #9740AF #B265C7 #C892D7

Accessibility & contrast

On white

5.72
#9740AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9740AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740AF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740AF#FFFFFF#000000##FFFFFF
##9740AF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B2
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#975372
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9740af;
/* rgb */ color: rgb(151, 64, 175);
/* oklch */ color: oklch(53.4% 0.182 318.3);
Tailwind
colors: {
  custom: {
    50: '#b97bc7',
    500: '#9740af',
    950: '#000000',
  },
}
SCSS
$custom: #9740af;
$custom-light: #b97bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9740af",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 287.027,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.18221,
    "h": 318.3
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#9740AF
secondary
#95C388
accent
#D6526E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9740AF

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

Preview Lab → · Contrast checker → · Palette generator →

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