#8A47D5#8A47D5

#8A47D5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.208 H 301.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A47D5
RGBrgb(138, 71, 213)
HSLhsl(268, 63%, 56%)
HSVhsv(268, 67%, 84%)
CMYKcmyk(35.2%, 66.7%, 0%, 16.5%)
CIE-LABlab(45.24, 55.29, -62.36)
CIE-LCHlch(45.24, 83.34, 311.56°)
OKLaboklab(55.22% 0.1088 -0.1774)
OKLCHoklch(55.22% 0.208 301.5)
XYZxyz(24.7418, 14.7137, 64.4744)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A47D5 #92D547
analogous
#474BD5 #8A47D5 #D147D5
triadic
#8A47D5 #D58A47 #47D58A
tetradic
#8A47D5 #D5474B #92D547 #47D5D1
square
#8A47D5 #D5474B #92D547 #47D5D1
split-complementary
#8A47D5 #D5D147 #4BD547
monochromatic
#4E1E84 #6B29B5 #8A47D5 #AA79E0 #C9ABEC

Accessibility & contrast

On white

5.33
#8A47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8A47D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A47D5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A47D5#FFFFFF#000000##FFFFFF
##8A47D51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#7A6788
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a47d5;
/* rgb */ color: rgb(138, 71, 213);
/* oklch */ color: oklch(55.2% 0.208 301.5);
Tailwind
colors: {
  custom: {
    50: '#b17fe3',
    500: '#8a47d5',
    950: '#000000',
  },
}
SCSS
$custom: #8a47d5;
$custom-light: #b17fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a47d5",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 268.31,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.20813,
    "h": 301.5
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#8A47D5
secondary
#BED99E
accent
#E64299
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8A47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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