#9D47E8#9D47E8

#9D47E8 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.232 H 304.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D47E8
RGBrgb(157, 71, 232)
HSLhsl(272, 78%, 59%)
HSVhsv(272, 69%, 91%)
CMYKcmyk(32.3%, 69.4%, 0%, 9%)
CIE-LABlab(48.89, 63.46, -67.15)
CIE-LCHlch(48.89, 92.39, 313.38°)
OKLaboklab(58.75% 0.1316 -0.1909)
OKLCHoklch(58.75% 0.232 304.6)
XYZxyz(30.7201, 17.5009, 78.0879)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47E8 #92E847
analogous
#4D47E8 #9D47E8 #E847E2
triadic
#9D47E8 #E89D47 #47E89D
tetradic
#9D47E8 #E84D47 #92E847 #47E2E8
square
#9D47E8 #E84D47 #92E847 #47E2E8
split-complementary
#9D47E8 #E2E847 #47E84D
monochromatic
#5F14A1 #7F1BD7 #9D47E8 #BA7DEF #D7B4F6

Accessibility & contrast

On white

4.67
#9D47E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9D47E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47E8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47E8#FFFFFF#000000##FFFFFF
##9D47E81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#8F6C93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d47e8;
/* rgb */ color: rgb(157, 71, 232);
/* oklch */ color: oklch(58.7% 0.232 304.6);
Tailwind
colors: {
  custom: {
    50: '#bf81f0',
    500: '#9d47e8',
    950: '#000000',
  },
}
SCSS
$custom: #9d47e8;
$custom-light: #bf81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47e8",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 272.05,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.23183,
    "h": 304.6
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#9D47E8
secondary
#C3E5A6
accent
#F4348D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D47E8

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

Preview Lab → · Contrast checker → · Palette generator →

#9D47E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva