#8A47BD#8A47BD

#8A47BD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.182 H 307.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A47BD
RGBrgb(138, 71, 189)
HSLhsl(274, 47%, 51%)
HSVhsv(274, 62%, 74%)
CMYKcmyk(27%, 62.4%, 0%, 25.9%)
CIE-LABlab(43.63, 49.58, -51.08)
CIE-LCHlch(43.63, 71.19, 314.15°)
OKLaboklab(53.55% 0.1107 -0.1443)
OKLCHoklch(53.55% 0.182 307.5)
XYZxyz(21.9179, 13.5842, 49.6016)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47BD #7ABD47
analogous
#4F47BD #8A47BD #BD47B5
triadic
#8A47BD #BD8A47 #47BD8A
tetradic
#8A47BD #BD4F47 #7ABD47 #47B5BD
square
#8A47BD #BD4F47 #7ABD47 #47B5BD
split-complementary
#8A47BD #B5BD47 #47BD4F
monochromatic
#492465 #6A3492 #8A47BD #A774CD #C3A1DD

Accessibility & contrast

On white

5.65
#8A47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8A47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47BD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47BD#FFFFFF#000000##FFFFFF
##8A47BD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#825F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a47bd;
/* rgb */ color: rgb(138, 71, 189);
/* oklch */ color: oklch(53.5% 0.182 307.5);
Tailwind
colors: {
  custom: {
    50: '#b07ed1',
    500: '#8a47bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a47bd;
$custom-light: #b07ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47bd",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 274.068,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.18188,
    "h": 307.5
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#8A47BD
secondary
#ACCA96
accent
#D7518B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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