#8647BA#8647BA

#8647BA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.177 H 306.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8647BA
RGBrgb(134, 71, 186)
HSLhsl(273, 45%, 50%)
HSVhsv(273, 62%, 73%)
CMYKcmyk(28%, 61.8%, 0%, 27.1%)
CIE-LABlab(42.94, 47.94, -50.45)
CIE-LCHlch(42.94, 69.60, 313.54°)
OKLaboklab(52.88% 0.1056 -0.1426)
OKLCHoklch(52.88% 0.177 306.5)
XYZxyz(20.9458, 13.1202, 47.8739)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8647BA #7BBA47
analogous
#4C47BA #8647BA #BA47B4
triadic
#8647BA #BA8647 #47BA86
tetradic
#8647BA #BA4C47 #7BBA47 #47B4BA
square
#8647BA #BA4C47 #7BBA47 #47B4BA
split-complementary
#8647BA #B4BA47 #47BA4C
monochromatic
#462562 #66358E #8647BA #A374CB #C1A0DB

Accessibility & contrast

On white

5.79
#8647BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8647BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8647BA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8647BA#FFFFFF#000000##FFFFFF
##8647BA1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0763BE
Deuteranopia (green-blind)
#3066B7
Tritanopia (blue-blind)
#7D5E7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8647ba;
/* rgb */ color: rgb(134, 71, 186);
/* oklch */ color: oklch(52.9% 0.177 306.5);
Tailwind
colors: {
  custom: {
    50: '#ad7ecf',
    500: '#8647ba',
    950: '#000000',
  },
}
SCSS
$custom: #8647ba;
$custom-light: #ad7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8647ba",
  "rgb": {
    "r": 134,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 272.87,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52877,
    "c": 0.17742,
    "h": 306.5
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#8647BA
secondary
#ACC895
accent
#D5538E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8647BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8647BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva