#9B47EA#9B47EA

#9B47EA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.7% C 0.233 H 303.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9B47EA
RGBrgb(155, 71, 234)
HSLhsl(271, 80%, 60%)
HSVhsv(271, 70%, 92%)
CMYKcmyk(33.8%, 69.7%, 0%, 8.2%)
CIE-LABlab(48.78, 63.53, -68.46)
CIE-LCHlch(48.78, 93.40, 312.86°)
OKLaboklab(58.66% 0.1286 -0.1948)
OKLCHoklch(58.66% 0.233 303.4)
XYZxyz(30.6186, 17.4156, 79.5744)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47EA #96EA47
analogous
#4947EA #9B47EA #EA47E8
triadic
#9B47EA #EA9B47 #47EA9B
tetradic
#9B47EA #EA4947 #96EA47 #47E8EA
square
#9B47EA #EA4947 #96EA47 #47E8EA
split-complementary
#9B47EA #E8EA47 #47EA49
monochromatic
#5E13A4 #7D19DB #9B47EA #B97EF0 #D7B5F7

Accessibility & contrast

On white

4.68
#9B47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9B47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47EA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47EA#FFFFFF#000000##FFFFFF
##9B47EA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#8B6D94
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b47ea;
/* rgb */ color: rgb(155, 71, 234);
/* oklch */ color: oklch(58.7% 0.233 303.4);
Tailwind
colors: {
  custom: {
    50: '#be81f2',
    500: '#9b47ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b47ea;
$custom-light: #be81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47ea",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 270.92,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.23343,
    "h": 303.4
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#9B47EA
secondary
#C5E6A7
accent
#F63291
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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