#9B47E0#9B47E0

#9B47E0 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.223 H 305.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9B47E0
RGBrgb(155, 71, 224)
HSLhsl(273, 71%, 58%)
HSVhsv(273, 68%, 88%)
CMYKcmyk(30.8%, 68.3%, 0%, 12.2%)
CIE-LABlab(48.08, 61.26, -63.94)
CIE-LCHlch(48.08, 88.55, 313.77°)
OKLaboklab(57.94% 0.13 -0.1815)
OKLCHoklch(57.94% 0.223 305.6)
XYZxyz(29.2224, 16.8571, 72.2208)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47E0 #8CE047
analogous
#4E47E0 #9B47E0 #E047D9
triadic
#9B47E0 #E09B47 #47E09B
tetradic
#9B47E0 #E04E47 #8CE047 #47D9E0
square
#9B47E0 #E04E47 #8CE047 #47D9E0
split-complementary
#9B47E0 #D9E047 #47E04E
monochromatic
#5C1994 #7D22C8 #9B47E0 #B77BE9 #D4B0F2

Accessibility & contrast

On white

4.80
#9B47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9B47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47E0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47E0#FFFFFF#000000##FFFFFF
##9B47E01.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0F72DD
Tritanopia (blue-blind)
#8F6A8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b47e0;
/* rgb */ color: rgb(155, 71, 224);
/* oklch */ color: oklch(57.9% 0.223 305.6);
Tailwind
colors: {
  custom: {
    50: '#be80eb',
    500: '#9b47e0',
    950: '#000000',
  },
}
SCSS
$custom: #9b47e0;
$custom-light: #be80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47e0",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 272.941,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.22327,
    "h": 305.6
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#9B47E0
secondary
#BEE0A3
accent
#EE3A8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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