#9740BC#9740BC

#9740BC is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.195 H 314.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9740BC
RGBrgb(151, 64, 188)
HSLhsl(282, 49%, 49%)
HSVhsv(282, 66%, 74%)
CMYKcmyk(19.7%, 66%, 0%, 26.3%)
CIE-LABlab(44.06, 55.71, -49.72)
CIE-LCHlch(44.06, 74.67, 318.26°)
OKLaboklab(54.2% 0.1358 -0.1398)
OKLCHoklch(54.2% 0.195 314.1)
XYZxyz(23.6715, 13.8777, 48.9989)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740BC #65BC40
analogous
#5940BC #9740BC #BC40A3
triadic
#9740BC #BC9740 #40BC97
tetradic
#9740BC #BC5940 #65BC40 #40A3BC
square
#9740BC #BC5940 #65BC40 #40A3BC
split-complementary
#9740BC #A3BC40 #40BC59
monochromatic
#4E2161 #72308E #9740BC #B06CCD #C99ADD

Accessibility & contrast

On white

5.56
#9740BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9740BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740BC#FFFFFF#000000##FFFFFF
##9740BC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#945879
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9740bc;
/* rgb */ color: rgb(151, 64, 188);
/* oklch */ color: oklch(54.2% 0.195 314.1);
Tailwind
colors: {
  custom: {
    50: '#b97bd1',
    500: '#9740bc',
    950: '#000000',
  },
}
SCSS
$custom: #9740bc;
$custom-light: #b97bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9740bc",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 282.097,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.19491,
    "h": 314.1
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#9740BC
secondary
#A0C98F
accent
#D94F78
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9740BC

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

Preview Lab → · Contrast checker → · Palette generator →

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