#9B47D2#9B47D2

#9B47D2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.209 H 309.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B47D2
RGBrgb(155, 71, 210)
HSLhsl(276, 61%, 55%)
HSVhsv(276, 66%, 82%)
CMYKcmyk(26.2%, 66.2%, 0%, 17.6%)
CIE-LABlab(47.14, 58.14, -57.46)
CIE-LCHlch(47.14, 81.74, 315.33°)
OKLaboklab(56.98% 0.1315 -0.1625)
OKLCHoklch(56.98% 0.209 309)
XYZxyz(27.4013, 16.1287, 62.6299)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47D2 #7ED247
analogous
#5547D2 #9B47D2 #D247C4
triadic
#9B47D2 #D29B47 #47D29B
tetradic
#9B47D2 #D25547 #7ED247 #47C4D2
square
#9B47D2 #D25547 #7ED247 #47C4D2
split-complementary
#9B47D2 #C4D247 #47D255
monochromatic
#591F7F #7C2BB1 #9B47D2 #B678DE #D0A9EA

Accessibility & contrast

On white

4.97
#9B47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9B47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47D2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47D2#FFFFFF#000000##FFFFFF
##9B47D21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#936487
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b47d2;
/* rgb */ color: rgb(155, 71, 210);
/* oklch */ color: oklch(57.0% 0.209 309.0);
Tailwind
colors: {
  custom: {
    50: '#bd80e1',
    500: '#9b47d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b47d2;
$custom-light: #bd80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47d2",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 276.259,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.20903,
    "h": 309
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#9B47D2
secondary
#B4D89D
accent
#E44483
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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