#9B47CA#9B47CA

#9B47CA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.201 H 311.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9B47CA
RGBrgb(155, 71, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 65%, 79%)
CMYKcmyk(23.3%, 64.9%, 0%, 20.8%)
CIE-LABlab(46.63, 56.39, -53.68)
CIE-LCHlch(46.63, 77.86, 316.41°)
OKLaboklab(56.45% 0.1321 -0.1514)
OKLCHoklch(56.45% 0.201 311.1)
XYZxyz(26.4295, 15.7399, 57.5115)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47CA #76CA47
analogous
#5947CA #9B47CA #CA47B7
triadic
#9B47CA #CA9B47 #47CA9B
tetradic
#9B47CA #CA5947 #76CA47 #47B7CA
square
#9B47CA #CA5947 #76CA47 #47B7CA
split-complementary
#9B47CA #B7CA47 #47CA59
monochromatic
#572275 #7A2FA4 #9B47CA #B577D8 #CFA6E5

Accessibility & contrast

On white

5.06
#9B47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9B47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47CA#FFFFFF#000000##FFFFFF
##9B47CA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#956182
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b47ca;
/* rgb */ color: rgb(155, 71, 202);
/* oklch */ color: oklch(56.4% 0.201 311.1);
Tailwind
colors: {
  custom: {
    50: '#bc80db',
    500: '#9b47ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b47ca;
$custom-light: #bc80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47ca",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 278.473,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.20091,
    "h": 311.1
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#9B47CA
secondary
#AED29A
accent
#DF497F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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