#9C47E8#9C47E8

#9C47E8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.232 H 304.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9C47E8
RGBrgb(156, 71, 232)
HSLhsl(272, 78%, 59%)
HSVhsv(272, 69%, 91%)
CMYKcmyk(32.8%, 69.4%, 0%, 9%)
CIE-LABlab(48.76, 63.27, -67.36)
CIE-LCHlch(48.76, 92.41, 313.21°)
OKLaboklab(58.63% 0.1302 -0.1915)
OKLCHoklch(58.63% 0.232 304.2)
XYZxyz(30.5257, 17.4007, 78.0788)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47E8 #93E847
analogous
#4C47E8 #9C47E8 #E847E4
triadic
#9C47E8 #E89C47 #47E89C
tetradic
#9C47E8 #E84C47 #93E847 #47E4E8
square
#9C47E8 #E84C47 #93E847 #47E4E8
split-complementary
#9C47E8 #E4E847 #47E84C
monochromatic
#5E14A1 #7E1BD7 #9C47E8 #B97DEF #D7B4F6

Accessibility & contrast

On white

4.69
#9C47E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9C47E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47E8#FFFFFF#000000##FFFFFF
##9C47E81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c47e8;
/* rgb */ color: rgb(156, 71, 232);
/* oklch */ color: oklch(58.6% 0.232 304.2);
Tailwind
colors: {
  custom: {
    50: '#bf81f0',
    500: '#9c47e8',
    950: '#000000',
  },
}
SCSS
$custom: #9c47e8;
$custom-light: #bf81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47e8",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 271.677,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.23161,
    "h": 304.2
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#9C47E8
secondary
#C4E5A6
accent
#F4348F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C47E8

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

Preview Lab → · Contrast checker → · Palette generator →

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