#9B47E4#9B47E4

#9B47E4 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.227 H 304.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9B47E4
RGBrgb(155, 71, 228)
HSLhsl(272, 74%, 59%)
HSVhsv(272, 69%, 89%)
CMYKcmyk(32%, 68.9%, 0%, 10.6%)
CIE-LABlab(48.36, 62.17, -65.76)
CIE-LCHlch(48.36, 90.49, 313.39°)
OKLaboklab(58.23% 0.1295 -0.1869)
OKLCHoklch(58.23% 0.227 304.7)
XYZxyz(29.7712, 17.0766, 75.1115)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47E4 #90E447
analogous
#4C47E4 #9B47E4 #E447DE
triadic
#9B47E4 #E49B47 #47E49B
tetradic
#9B47E4 #E44C47 #90E447 #47DEE4
square
#9B47E4 #E44C47 #90E447 #47DEE4
split-complementary
#9B47E4 #DEE447 #47E44C
monochromatic
#5D179A #7D1ECF #9B47E4 #B87CEC #D5B2F4

Accessibility & contrast

On white

4.76
#9B47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9B47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47E4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47E4#FFFFFF#000000##FFFFFF
##9B47E41.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b47e4;
/* rgb */ color: rgb(155, 71, 228);
/* oklch */ color: oklch(58.2% 0.227 304.7);
Tailwind
colors: {
  custom: {
    50: '#be80ed',
    500: '#9b47e4',
    950: '#000000',
  },
}
SCSS
$custom: #9b47e4;
$custom-light: #be80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47e4",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 272.102,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58229,
    "c": 0.22734,
    "h": 304.7
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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