#9747B7#9747B7

#9747B7 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.180 H 315.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9747B7
RGBrgb(151, 71, 183)
HSLhsl(283, 44%, 50%)
HSVhsv(283, 61%, 72%)
CMYKcmyk(17.5%, 61.2%, 0%, 28.2%)
CIE-LABlab(44.95, 51.38, -45.36)
CIE-LCHlch(44.95, 68.54, 318.56°)
OKLaboklab(54.75% 0.1275 -0.1272)
OKLCHoklch(54.75% 0.18 315.1)
XYZxyz(23.5616, 14.5055, 46.3492)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747B7 #67B747
analogous
#5F47B7 #9747B7 #B7479F
triadic
#9747B7 #B79747 #47B797
tetradic
#9747B7 #B75F47 #67B747 #479FB7
square
#9747B7 #B75F47 #67B747 #479FB7
split-complementary
#9747B7 #9FB747 #47B75F
monochromatic
#4E255F #73368B #9747B7 #B073C9 #C99FDA

Accessibility & contrast

On white

5.38
#9747B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9747B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747B7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747B7#FFFFFF#000000##FFFFFF
##9747B71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BA
Deuteranopia (green-blind)
#456DB4
Tritanopia (blue-blind)
#955B78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9747b7;
/* rgb */ color: rgb(151, 71, 183);
/* oklch */ color: oklch(54.7% 0.180 315.1);
Tailwind
colors: {
  custom: {
    50: '#b97fcd',
    500: '#9747b7',
    950: '#000000',
  },
}
SCSS
$custom: #9747b7;
$custom-light: #b97fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9747b7",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 282.857,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.18006,
    "h": 315.1
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#9747B7
secondary
#A2C694
accent
#D45479
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9747B7

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

Preview Lab → · Contrast checker → · Palette generator →

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