#9740B7#9740B7

#9740B7 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.190 H 315.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9740B7
RGBrgb(151, 64, 183)
HSLhsl(284, 48%, 48%)
HSVhsv(284, 65%, 72%)
CMYKcmyk(17.5%, 65%, 0%, 28.2%)
CIE-LABlab(43.75, 54.67, -47.28)
CIE-LCHlch(43.75, 72.28, 319.15°)
OKLaboklab(53.88% 0.136 -0.1327)
OKLCHoklch(53.88% 0.19 315.7)
XYZxyz(23.1418, 13.6658, 46.2093)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740B7 #60B740
analogous
#5C40B7 #9740B7 #B7409B
triadic
#9740B7 #B79740 #40B797
tetradic
#9740B7 #B75C40 #60B740 #409BB7
square
#9740B7 #B75C40 #60B740 #409BB7
split-complementary
#9740B7 #9BB740 #40B75C
monochromatic
#4C205C #72308A #9740B7 #B169CB #C897DB

Accessibility & contrast

On white

5.63
#9740B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9740B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740B7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740B7#FFFFFF#000000##FFFFFF
##9740B71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62BB
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#955676
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9740b7;
/* rgb */ color: rgb(151, 64, 183);
/* oklch */ color: oklch(53.9% 0.190 315.7);
Tailwind
colors: {
  custom: {
    50: '#b97bcd',
    500: '#9740b7',
    950: '#000000',
  },
}
SCSS
$custom: #9740b7;
$custom-light: #b97bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9740b7",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 283.866,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.19001,
    "h": 315.7
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#9740B7
secondary
#9CC68D
accent
#D85075
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9740B7

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

Preview Lab → · Contrast checker → · Palette generator →

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