#8A47BF#8A47BF

#8A47BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.184 H 306.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A47BF
RGBrgb(138, 71, 191)
HSLhsl(274, 48%, 51%)
HSVhsv(274, 63%, 75%)
CMYKcmyk(27.7%, 62.8%, 0%, 25.1%)
CIE-LABlab(43.76, 50.05, -52.04)
CIE-LCHlch(43.76, 72.20, 313.88°)
OKLaboklab(53.68% 0.1106 -0.1471)
OKLCHoklch(53.68% 0.184 306.9)
XYZxyz(22.1365, 13.6716, 50.7528)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47BF #7CBF47
analogous
#4E47BF #8A47BF #BF47B8
triadic
#8A47BF #BF8A47 #47BF8A
tetradic
#8A47BF #BF4E47 #7CBF47 #47B8BF
square
#8A47BF #BF4E47 #7CBF47 #47B8BF
split-complementary
#8A47BF #B8BF47 #47BF4E
monochromatic
#4A2468 #6A3495 #8A47BF #A774CF #C4A2DF

Accessibility & contrast

On white

5.62
#8A47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A47BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47BF#FFFFFF#000000##FFFFFF
##8A47BF1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#815F7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a47bf;
/* rgb */ color: rgb(138, 71, 191);
/* oklch */ color: oklch(53.7% 0.184 306.9);
Tailwind
colors: {
  custom: {
    50: '#b07ed3',
    500: '#8a47bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a47bf;
$custom-light: #b07ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47bf",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 273.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.18407,
    "h": 306.9
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#8A47BF
secondary
#AECB96
accent
#D8508C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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