#9C47E4#9C47E4

#9C47E4 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.228 H 305.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9C47E4
RGBrgb(156, 71, 228)
HSLhsl(272, 74%, 59%)
HSVhsv(272, 69%, 89%)
CMYKcmyk(31.6%, 68.9%, 0%, 10.6%)
CIE-LABlab(48.48, 62.36, -65.55)
CIE-LCHlch(48.48, 90.47, 313.57°)
OKLaboklab(58.35% 0.1308 -0.1862)
OKLCHoklch(58.35% 0.228 305.1)
XYZxyz(29.9640, 17.1760, 75.1205)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47E4 #8FE447
analogous
#4D47E4 #9C47E4 #E447DE
triadic
#9C47E4 #E49C47 #47E49C
tetradic
#9C47E4 #E44D47 #8FE447 #47DEE4
square
#9C47E4 #E44D47 #8FE447 #47DEE4
split-complementary
#9C47E4 #DEE447 #47E44D
monochromatic
#5E179A #7E1ECF #9C47E4 #B97CEC #D5B2F4

Accessibility & contrast

On white

4.73
#9C47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9C47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47E4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47E4#FFFFFF#000000##FFFFFF
##9C47E41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#8F6B90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c47e4;
/* rgb */ color: rgb(156, 71, 228);
/* oklch */ color: oklch(58.3% 0.228 305.1);
Tailwind
colors: {
  custom: {
    50: '#be81ed',
    500: '#9c47e4',
    950: '#000000',
  },
}
SCSS
$custom: #9c47e4;
$custom-light: #be81ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47e4",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 272.484,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.22757,
    "h": 305.1
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#9C47E4
secondary
#C1E2A4
accent
#F1378C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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