#8A47D3#8A47D3

#8A47D3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.206 H 302.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A47D3
RGBrgb(138, 71, 211)
HSLhsl(269, 61%, 55%)
HSVhsv(269, 66%, 83%)
CMYKcmyk(34.6%, 66.4%, 0%, 17.3%)
CIE-LABlab(45.10, 54.81, -61.44)
CIE-LCHlch(45.10, 82.33, 311.73°)
OKLaboklab(55.07% 0.109 -0.1747)
OKLCHoklch(55.07% 0.206 302)
XYZxyz(24.4896, 14.6128, 63.1457)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47D3 #90D347
analogous
#474AD3 #8A47D3 #D047D3
triadic
#8A47D3 #D38A47 #47D38A
tetradic
#8A47D3 #D3474A #90D347 #47D3D0
square
#8A47D3 #D3474A #90D347 #47D3D0
split-complementary
#8A47D3 #D3D047 #4AD347
monochromatic
#4E1F81 #6B2BB2 #8A47D3 #A978DF #C9AAEB

Accessibility & contrast

On white

5.35
#8A47D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A47D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47D3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47D3#FFFFFF#000000##FFFFFF
##8A47D31.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#7B6787
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a47d3;
/* rgb */ color: rgb(138, 71, 211);
/* oklch */ color: oklch(55.1% 0.206 302.0);
Tailwind
colors: {
  custom: {
    50: '#b17fe1',
    500: '#8a47d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a47d3;
$custom-light: #b17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47d3",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 268.714,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.20595,
    "h": 302
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

primary
#8A47D3
secondary
#BCD89E
accent
#E54397
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A47D3

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

Preview Lab → · Contrast checker → · Palette generator →

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