#9B47E8#9B47E8

#9B47E8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.5% C 0.231 H 303.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B47E8
RGBrgb(155, 71, 232)
HSLhsl(271, 78%, 59%)
HSVhsv(271, 69%, 91%)
CMYKcmyk(33.2%, 69.4%, 0%, 9%)
CIE-LABlab(48.64, 63.08, -67.56)
CIE-LCHlch(48.64, 92.43, 313.03°)
OKLaboklab(58.52% 0.1289 -0.1922)
OKLCHoklch(58.52% 0.231 303.9)
XYZxyz(30.3329, 17.3013, 78.0698)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47E8 #94E847
analogous
#4A47E8 #9B47E8 #E847E5
triadic
#9B47E8 #E89B47 #47E89B
tetradic
#9B47E8 #E84A47 #94E847 #47E5E8
square
#9B47E8 #E84A47 #94E847 #47E5E8
split-complementary
#9B47E8 #E5E847 #47E84A
monochromatic
#5D14A1 #7D1BD7 #9B47E8 #B97DEF #D6B4F6

Accessibility & contrast

On white

4.71
#9B47E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9B47E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47E8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47E8#FFFFFF#000000##FFFFFF
##9B47E81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#8C6D93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b47e8;
/* rgb */ color: rgb(155, 71, 232);
/* oklch */ color: oklch(58.5% 0.231 303.9);
Tailwind
colors: {
  custom: {
    50: '#be81f0',
    500: '#9b47e8',
    950: '#000000',
  },
}
SCSS
$custom: #9b47e8;
$custom-light: #be81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47e8",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 271.304,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.2314,
    "h": 303.9
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B47E8

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

Preview Lab → · Contrast checker → · Palette generator →

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