#9747BE#9747BE

#9747BE is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.187 H 312.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9747BE
RGBrgb(151, 71, 190)
HSLhsl(280, 48%, 51%)
HSVhsv(280, 63%, 75%)
CMYKcmyk(20.5%, 62.6%, 0%, 25.5%)
CIE-LABlab(45.36, 52.87, -48.79)
CIE-LCHlch(45.36, 71.94, 317.30°)
OKLaboklab(55.18% 0.1275 -0.1372)
OKLCHoklch(55.18% 0.187 312.9)
XYZxyz(24.3084, 14.8042, 50.2822)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747BE #6EBE47
analogous
#5B47BE #9747BE #BE47A9
triadic
#9747BE #BE9747 #47BE97
tetradic
#9747BE #BE5B47 #6EBE47 #47A9BE
square
#9747BE #BE5B47 #6EBE47 #47A9BE
split-complementary
#9747BE #A9BE47 #47BE5B
monochromatic
#512466 #743494 #9747BE #B174CE #CAA1DE

Accessibility & contrast

On white

5.30
#9747BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9747BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747BE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747BE#FFFFFF#000000##FFFFFF
##9747BE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#935D7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9747be;
/* rgb */ color: rgb(151, 71, 190);
/* oklch */ color: oklch(55.2% 0.187 312.9);
Tailwind
colors: {
  custom: {
    50: '#b97fd2',
    500: '#9747be',
    950: '#000000',
  },
}
SCSS
$custom: #9747be;
$custom-light: #b97fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9747be",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 280.336,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.18724,
    "h": 312.9
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#9747BE
secondary
#A7CB96
accent
#D7507D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9747BE

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

Preview Lab → · Contrast checker → · Palette generator →

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