#9747E8#9747E8

#9747E8 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.231 H 302.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9747E8
RGBrgb(151, 71, 232)
HSLhsl(270, 78%, 59%)
HSVhsv(270, 69%, 91%)
CMYKcmyk(34.9%, 69.4%, 0%, 9%)
CIE-LABlab(48.15, 62.32, -68.38)
CIE-LCHlch(48.15, 92.52, 312.35°)
OKLaboklab(58.06% 0.1236 -0.1947)
OKLCHoklch(58.06% 0.231 302.4)
XYZxyz(29.5778, 16.9119, 78.0344)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747E8 #98E847
analogous
#4747E8 #9747E8 #E847E8
triadic
#9747E8 #E89747 #47E897
tetradic
#9747E8 #E84747 #98E847 #47E8E8
square
#9747E8 #E84747 #98E847 #47E8E8
split-complementary
#9747E8 #E8E847 #47E847
monochromatic
#5A14A1 #781BD7 #9747E8 #B67DEF #D4B4F6

Accessibility & contrast

On white

4.79
#9747E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9747E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747E8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747E8#FFFFFF#000000##FFFFFF
##9747E81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#866D93
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9747e8;
/* rgb */ color: rgb(151, 71, 232);
/* oklch */ color: oklch(58.1% 0.231 302.4);
Tailwind
colors: {
  custom: {
    50: '#bb80f0',
    500: '#9747e8',
    950: '#000000',
  },
}
SCSS
$custom: #9747e8;
$custom-light: #bb80f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9747e8",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 269.814,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.23061,
    "h": 302.4
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#9747E8
secondary
#C6E5A6
accent
#F43494
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9747E8

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

Preview Lab → · Contrast checker → · Palette generator →

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