#9740BE#9740BE

#9740BE is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.197 H 313.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9740BE
RGBrgb(151, 64, 190)
HSLhsl(281, 50%, 50%)
HSVhsv(281, 66%, 75%)
CMYKcmyk(20.5%, 66.3%, 0%, 25.5%)
CIE-LABlab(44.18, 56.13, -50.68)
CIE-LCHlch(44.18, 75.63, 317.92°)
OKLaboklab(54.33% 0.1357 -0.1427)
OKLCHoklch(54.33% 0.197 313.6)
XYZxyz(23.8886, 13.9645, 50.1423)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740BE #67BE40
analogous
#5840BE #9740BE #BE40A6
triadic
#9740BE #BE9740 #40BE97
tetradic
#9740BE #BE5840 #67BE40 #40A6BE
square
#9740BE #BE5840 #67BE40 #40A6BE
split-complementary
#9740BE #A6BE40 #40BE58
monochromatic
#4E2162 #733190 #9740BE #B06DCE #C99BDD

Accessibility & contrast

On white

5.54
#9740BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9740BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740BE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740BE#FFFFFF#000000##FFFFFF
##9740BE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#396ABB
Tritanopia (blue-blind)
#93597A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9740be;
/* rgb */ color: rgb(151, 64, 190);
/* oklch */ color: oklch(54.3% 0.197 313.6);
Tailwind
colors: {
  custom: {
    50: '#b97bd2',
    500: '#9740be',
    950: '#000000',
  },
}
SCSS
$custom: #9740be;
$custom-light: #b97bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9740be",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 281.429,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.19688,
    "h": 313.6
  },
  "luminance": 0.13964
}

Semantic roles & 50–950 ramp

primary
#9740BE
secondary
#A2C990
accent
#D94F7A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9740BE

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

Preview Lab → · Contrast checker → · Palette generator →

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