#9740B8#9740B8

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

Color values

HEX#9740B8
RGBrgb(151, 64, 184)
HSLhsl(284, 48%, 49%)
HSVhsv(284, 65%, 72%)
CMYKcmyk(17.9%, 65.2%, 0%, 27.8%)
CIE-LABlab(43.81, 54.88, -47.77)
CIE-LCHlch(43.81, 72.76, 318.96°)
OKLaboklab(53.94% 0.1359 -0.1341)
OKLCHoklch(53.94% 0.191 315.4)
XYZxyz(23.2463, 13.7076, 46.7594)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740B8 #61B840
analogous
#5B40B8 #9740B8 #B8409D
triadic
#9740B8 #B89740 #40B897
tetradic
#9740B8 #B85B40 #61B840 #409DB8
square
#9740B8 #B85B40 #61B840 #409DB8
split-complementary
#9740B8 #9DB840 #40B85B
monochromatic
#4C205D #72308B #9740B8 #B06ACB #C897DB

Accessibility & contrast

On white

5.61
#9740B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9740B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740B8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740B8#FFFFFF#000000##FFFFFF
##9740B81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A62BC
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#955776
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9740b8;
/* rgb */ color: rgb(151, 64, 184);
/* oklch */ color: oklch(53.9% 0.191 315.4);
Tailwind
colors: {
  custom: {
    50: '#b97bce',
    500: '#9740b8',
    950: '#000000',
  },
}
SCSS
$custom: #9740b8;
$custom-light: #b97bce;
$custom-dark: #000000;
JSON
{
  "hex": "#9740b8",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 283.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.19098,
    "h": 315.4
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#9740B8
secondary
#9DC78D
accent
#D85075
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9740B8

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

Preview Lab → · Contrast checker → · Palette generator →

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