#8A47BE#8A47BE

#8A47BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.183 H 307.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A47BE
RGBrgb(138, 71, 190)
HSLhsl(274, 48%, 51%)
HSVhsv(274, 63%, 75%)
CMYKcmyk(27.4%, 62.6%, 0%, 25.5%)
CIE-LABlab(43.69, 49.82, -51.56)
CIE-LCHlch(43.69, 71.69, 314.02°)
OKLaboklab(53.61% 0.1107 -0.1457)
OKLCHoklch(53.61% 0.183 307.2)
XYZxyz(22.0268, 13.6277, 50.1752)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47BE #7BBE47
analogous
#4E47BE #8A47BE #BE47B6
triadic
#8A47BE #BE8A47 #47BE8A
tetradic
#8A47BE #BE4E47 #7BBE47 #47B6BE
square
#8A47BE #BE4E47 #7BBE47 #47B6BE
split-complementary
#8A47BE #B6BE47 #47BE4E
monochromatic
#492466 #6A3494 #8A47BE #A774CE #C4A1DE

Accessibility & contrast

On white

5.64
#8A47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47BE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47BE#FFFFFF#000000##FFFFFF
##8A47BE1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#825F7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a47be;
/* rgb */ color: rgb(138, 71, 190);
/* oklch */ color: oklch(53.6% 0.183 307.2);
Tailwind
colors: {
  custom: {
    50: '#b07ed2',
    500: '#8a47be',
    950: '#000000',
  },
}
SCSS
$custom: #8a47be;
$custom-light: #b07ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47be",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 273.782,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.18297,
    "h": 307.2
  },
  "luminance": 0.13627
}

Semantic roles & 50–950 ramp

primary
#8A47BE
secondary
#ADCB96
accent
#D7508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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