#9740BB#9740BB

#9740BB is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.194 H 314.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9740BB
RGBrgb(151, 64, 187)
HSLhsl(282, 49%, 49%)
HSVhsv(282, 66%, 73%)
CMYKcmyk(19.3%, 65.8%, 0%, 26.7%)
CIE-LABlab(43.99, 55.51, -49.23)
CIE-LCHlch(43.99, 74.19, 318.43°)
OKLaboklab(54.13% 0.1358 -0.1384)
OKLCHoklch(54.13% 0.194 314.5)
XYZxyz(23.5641, 13.8347, 48.4332)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740BB #64BB40
analogous
#5A40BB #9740BB #BB40A2
triadic
#9740BB #BB9740 #40BB97
tetradic
#9740BB #BB5A40 #64BB40 #40A2BB
square
#9740BB #BB5A40 #64BB40 #40A2BB
split-complementary
#9740BB #A2BB40 #40BB5A
monochromatic
#4D2160 #72308D #9740BB #B06CCD #C999DC

Accessibility & contrast

On white

5.58
#9740BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9740BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740BB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740BB#FFFFFF#000000##FFFFFF
##9740BB1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#945878
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9740bb;
/* rgb */ color: rgb(151, 64, 187);
/* oklch */ color: oklch(54.1% 0.194 314.5);
Tailwind
colors: {
  custom: {
    50: '#b97bd0',
    500: '#9740bb',
    950: '#000000',
  },
}
SCSS
$custom: #9740bb;
$custom-light: #b97bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9740bb",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 282.439,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54133,
    "c": 0.19393,
    "h": 314.5
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#9740BB
secondary
#A0C88F
accent
#D94F77
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9740BB

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

Preview Lab → · Contrast checker → · Palette generator →

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