#9747E4#9747E4

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

Color values

HEX#9747E4
RGBrgb(151, 71, 228)
HSLhsl(271, 74%, 59%)
HSVhsv(271, 69%, 89%)
CMYKcmyk(33.8%, 68.9%, 0%, 10.6%)
CIE-LABlab(47.86, 61.40, -66.58)
CIE-LCHlch(47.86, 90.57, 312.68°)
OKLaboklab(57.77% 0.1242 -0.1894)
OKLCHoklch(57.77% 0.226 303.2)
XYZxyz(29.0161, 16.6872, 75.0761)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747E4 #94E447
analogous
#4847E4 #9747E4 #E447E3
triadic
#9747E4 #E49747 #47E497
tetradic
#9747E4 #E44847 #94E447 #47E3E4
square
#9747E4 #E44847 #94E447 #47E3E4
split-complementary
#9747E4 #E3E447 #47E448
monochromatic
#5A179A #791ECF #9747E4 #B57CEC #D3B2F4

Accessibility & contrast

On white

4.84
#9747E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9747E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747E4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747E4#FFFFFF#000000##FFFFFF
##9747E41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#886C90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9747e4;
/* rgb */ color: rgb(151, 71, 228);
/* oklch */ color: oklch(57.8% 0.226 303.2);
Tailwind
colors: {
  custom: {
    50: '#bb80ed',
    500: '#9747e4',
    950: '#000000',
  },
}
SCSS
$custom: #9747e4;
$custom-light: #bb80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9747e4",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 270.573,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.22649,
    "h": 303.2
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#9747E4
secondary
#C3E2A4
accent
#F13792
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9747E4

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

Preview Lab → · Contrast checker → · Palette generator →

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