#9740B5#9740B5

#9740B5 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.188 H 316.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9740B5
RGBrgb(151, 64, 181)
HSLhsl(285, 48%, 48%)
HSVhsv(285, 65%, 71%)
CMYKcmyk(16.6%, 64.6%, 0%, 29%)
CIE-LABlab(43.63, 54.26, -46.30)
CIE-LCHlch(43.63, 71.33, 319.53°)
OKLaboklab(53.75% 0.136 -0.1298)
OKLCHoklch(53.75% 0.188 316.3)
XYZxyz(22.9351, 13.5832, 45.1208)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740B5 #5EB540
analogous
#5C40B5 #9740B5 #B54099
triadic
#9740B5 #B59740 #40B597
tetradic
#9740B5 #B55C40 #5EB540 #4099B5
square
#9740B5 #B55C40 #5EB540 #4099B5
split-complementary
#9740B5 #99B540 #40B55C
monochromatic
#4C205B #713088 #9740B5 #B168CA #C896DA

Accessibility & contrast

On white

5.65
#9740B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9740B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740B5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740B5#FFFFFF#000000##FFFFFF
##9740B51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362B9
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#955575
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9740b5;
/* rgb */ color: rgb(151, 64, 181);
/* oklch */ color: oklch(53.8% 0.188 316.3);
Tailwind
colors: {
  custom: {
    50: '#b97bcc',
    500: '#9740b5',
    950: '#000000',
  },
}
SCSS
$custom: #9740b5;
$custom-light: #b97bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#9740b5",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 284.615,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.18805,
    "h": 316.3
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#9740B5
secondary
#9AC58B
accent
#D75073
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9740B5

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

Preview Lab → · Contrast checker → · Palette generator →

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