#9747BA#9747BA

#9747BA is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.183 H 314.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9747BA
RGBrgb(151, 71, 186)
HSLhsl(282, 45%, 50%)
HSVhsv(282, 62%, 73%)
CMYKcmyk(18.8%, 61.8%, 0%, 27.1%)
CIE-LABlab(45.13, 52.02, -46.84)
CIE-LCHlch(45.13, 70.00, 318.00°)
OKLaboklab(54.93% 0.1275 -0.1315)
OKLCHoklch(54.93% 0.183 314.1)
XYZxyz(23.8772, 14.6317, 48.0113)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747BA #6ABA47
analogous
#5D47BA #9747BA #BA47A4
triadic
#9747BA #BA9747 #47BA97
tetradic
#9747BA #BA5D47 #6ABA47 #47A4BA
square
#9747BA #BA5D47 #6ABA47 #47A4BA
split-complementary
#9747BA #A4BA47 #47BA5D
monochromatic
#4F2562 #73358E #9747BA #B074CB #C9A0DB

Accessibility & contrast

On white

5.35
#9747BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9747BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747BA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747BA#FFFFFF#000000##FFFFFF
##9747BA1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#436DB7
Tritanopia (blue-blind)
#945C7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9747ba;
/* rgb */ color: rgb(151, 71, 186);
/* oklch */ color: oklch(54.9% 0.183 314.1);
Tailwind
colors: {
  custom: {
    50: '#b97fcf',
    500: '#9747ba',
    950: '#000000',
  },
}
SCSS
$custom: #9747ba;
$custom-light: #b97fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9747ba",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 281.739,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.18313,
    "h": 314.1
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#9747BA
secondary
#A4C895
accent
#D5537A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9747BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9747BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva