#8647D6#8647D6

#8647D6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.209 H 299.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8647D6
RGBrgb(134, 71, 214)
HSLhsl(266, 64%, 56%)
HSVhsv(266, 67%, 84%)
CMYKcmyk(37.4%, 66.8%, 0%, 16.1%)
CIE-LABlab(44.84, 54.74, -63.60)
CIE-LCHlch(44.84, 83.91, 310.72°)
OKLaboklab(54.85% 0.1033 -0.1812)
OKLCHoklch(54.85% 0.209 299.7)
XYZxyz(24.2193, 14.4296, 65.1145)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8647D6 #97D647
analogous
#474FD6 #8647D6 #CE47D6
triadic
#8647D6 #D68647 #47D686
tetradic
#8647D6 #D6474F #97D647 #47D6CE
square
#8647D6 #D6474F #97D647 #47D6CE
split-complementary
#8647D6 #D6CE47 #4FD647
monochromatic
#4B1E85 #6729B7 #8647D6 #A779E1 #C8ABEC

Accessibility & contrast

On white

5.40
#8647D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8647D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8647D6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8647D6#FFFFFF#000000##FFFFFF
##8647D61.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#746889
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8647d6;
/* rgb */ color: rgb(134, 71, 214);
/* oklch */ color: oklch(54.9% 0.209 299.7);
Tailwind
colors: {
  custom: {
    50: '#af7ee4',
    500: '#8647d6',
    950: '#000000',
  },
}
SCSS
$custom: #8647d6;
$custom-light: #af7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8647d6",
  "rgb": {
    "r": 134,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 266.434,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.20857,
    "h": 299.7
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#8647D6
secondary
#C0DA9F
accent
#E7419E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8647D6

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

Preview Lab → · Contrast checker → · Palette generator →

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