#9740BD#9740BD

#9740BD is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.196 H 313.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9740BD
RGBrgb(151, 64, 189)
HSLhsl(282, 49%, 50%)
HSVhsv(282, 66%, 74%)
CMYKcmyk(20.1%, 66.1%, 0%, 25.9%)
CIE-LABlab(44.12, 55.92, -50.20)
CIE-LCHlch(44.12, 75.15, 318.09°)
OKLaboklab(54.26% 0.1357 -0.1413)
OKLCHoklch(54.26% 0.196 313.9)
XYZxyz(23.7796, 13.9210, 49.5686)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740BD #66BD40
analogous
#5940BD #9740BD #BD40A5
triadic
#9740BD #BD9740 #40BD97
tetradic
#9740BD #BD5940 #66BD40 #40A5BD
square
#9740BD #BD5940 #66BD40 #40A5BD
split-complementary
#9740BD #A5BD40 #40BD59
monochromatic
#4E2162 #72318F #9740BD #B06DCD #C99ADD

Accessibility & contrast

On white

5.55
#9740BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9740BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740BD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740BD#FFFFFF#000000##FFFFFF
##9740BD1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3A6ABA
Tritanopia (blue-blind)
#935879
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9740bd;
/* rgb */ color: rgb(151, 64, 189);
/* oklch */ color: oklch(54.3% 0.196 313.9);
Tailwind
colors: {
  custom: {
    50: '#b97bd1',
    500: '#9740bd',
    950: '#000000',
  },
}
SCSS
$custom: #9740bd;
$custom-light: #b97bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9740bd",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 281.76,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.19589,
    "h": 313.9
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#9740BD
secondary
#A1C990
accent
#D94F79
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9740BD

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

Preview Lab → · Contrast checker → · Palette generator →

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