#9747E5#9747E5

#9747E5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.228 H 303.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9747E5
RGBrgb(151, 71, 229)
HSLhsl(270, 75%, 59%)
HSVhsv(270, 69%, 90%)
CMYKcmyk(34.1%, 69%, 0%, 10.2%)
CIE-LABlab(47.93, 61.63, -67.03)
CIE-LCHlch(47.93, 91.06, 312.60°)
OKLaboklab(57.84% 0.124 -0.1907)
OKLCHoklch(57.84% 0.228 303)
XYZxyz(29.1553, 16.7429, 75.8093)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747E5 #95E547
analogous
#4847E5 #9747E5 #E547E4
triadic
#9747E5 #E59747 #47E597
tetradic
#9747E5 #E54847 #95E547 #47E4E5
square
#9747E5 #E54847 #95E547 #47E4E5
split-complementary
#9747E5 #E4E547 #47E548
monochromatic
#5A169C #791ED1 #9747E5 #B57DED #D4B2F4

Accessibility & contrast

On white

4.83
#9747E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9747E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747E5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747E5#FFFFFF#000000##FFFFFF
##9747E51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#876C91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9747e5;
/* rgb */ color: rgb(151, 71, 229);
/* oklch */ color: oklch(57.8% 0.228 303.0);
Tailwind
colors: {
  custom: {
    50: '#bb80ee',
    500: '#9747e5',
    950: '#000000',
  },
}
SCSS
$custom: #9747e5;
$custom-light: #bb80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9747e5",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 270.38,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.22753,
    "h": 303
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#9747E5
secondary
#C4E3A5
accent
#F23693
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9747E5

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

Preview Lab → · Contrast checker → · Palette generator →

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