#9740B3#9740B3

#9740B3 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.186 H 317.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9740B3
RGBrgb(151, 64, 179)
HSLhsl(285, 47%, 48%)
HSVhsv(285, 64%, 70%)
CMYKcmyk(15.6%, 64.2%, 0%, 29.8%)
CIE-LABlab(43.51, 53.85, -45.31)
CIE-LCHlch(43.51, 70.38, 319.92°)
OKLaboklab(53.63% 0.1361 -0.127)
OKLCHoklch(53.63% 0.186 317)
XYZxyz(22.7314, 13.5017, 44.0478)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9740B3 #5CB340
analogous
#5D40B3 #9740B3 #B34096
triadic
#9740B3 #B39740 #40B397
tetradic
#9740B3 #B35D40 #5CB340 #4096B3
square
#9740B3 #B35D40 #5CB340 #4096B3
split-complementary
#9740B3 #96B340 #40B35D
monochromatic
#4B2059 #713086 #9740B3 #B167C9 #C894D9

Accessibility & contrast

On white

5.68
#9740B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9740B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9740B3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9740B3#FFFFFF#000000##FFFFFF
##9740B31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#965574
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9740b3;
/* rgb */ color: rgb(151, 64, 179);
/* oklch */ color: oklch(53.6% 0.186 317.0);
Tailwind
colors: {
  custom: {
    50: '#b97bca',
    500: '#9740b3',
    950: '#000000',
  },
}
SCSS
$custom: #9740b3;
$custom-light: #b97bca;
$custom-dark: #000000;
JSON
{
  "hex": "#9740b3",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 285.391,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53627,
    "c": 0.18609,
    "h": 317
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#9740B3
secondary
#99C48A
accent
#D75172
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9740B3

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

Preview Lab → · Contrast checker → · Palette generator →

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