#8B47B8#8B47B8

#8B47B8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.177 H 309.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8B47B8
RGBrgb(139, 71, 184)
HSLhsl(276, 44%, 50%)
HSVhsv(276, 61%, 72%)
CMYKcmyk(24.5%, 61.4%, 0%, 27.8%)
CIE-LABlab(43.44, 48.67, -48.45)
CIE-LCHlch(43.44, 68.67, 315.13°)
OKLaboklab(53.34% 0.1122 -0.1365)
OKLCHoklch(53.34% 0.177 309.4)
XYZxyz(21.5507, 13.4565, 46.8002)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47B8 #74B847
analogous
#5247B8 #8B47B8 #B847AD
triadic
#8B47B8 #B88B47 #47B88B
tetradic
#8B47B8 #B85247 #74B847 #47ADB8
square
#8B47B8 #B85247 #74B847 #47ADB8
split-complementary
#8B47B8 #ADB847 #47B852
monochromatic
#482560 #6A368C #8B47B8 #A773C9 #C39FDA

Accessibility & contrast

On white

5.69
#8B47B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8B47B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47B8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47B8#FFFFFF#000000##FFFFFF
##8B47B81.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1564BC
Deuteranopia (green-blind)
#3868B5
Tritanopia (blue-blind)
#855D79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b47b8;
/* rgb */ color: rgb(139, 71, 184);
/* oklch */ color: oklch(53.3% 0.177 309.4);
Tailwind
colors: {
  custom: {
    50: '#b07ece',
    500: '#8b47b8',
    950: '#000000',
  },
}
SCSS
$custom: #8b47b8;
$custom-light: #b07ece;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47b8",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 276.106,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.17671,
    "h": 309.4
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#8B47B8
secondary
#A8C794
accent
#D45487
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B47B8

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

Preview Lab → · Contrast checker → · Palette generator →

#8B47B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva