#8746D6#8746D6

#8746D6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.210 H 300.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8746D6
RGBrgb(135, 70, 214)
HSLhsl(267, 64%, 56%)
HSVhsv(267, 67%, 84%)
CMYKcmyk(36.9%, 67.3%, 0%, 16.1%)
CIE-LABlab(44.78, 55.42, -63.69)
CIE-LCHlch(44.78, 84.43, 311.03°)
OKLaboklab(54.83% 0.1057 -0.1814)
OKLCHoklch(54.83% 0.21 300.2)
XYZxyz(24.3164, 14.3860, 65.1010)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746D6 #95D646
analogous
#464DD6 #8746D6 #CF46D6
triadic
#8746D6 #D68746 #46D687
tetradic
#8746D6 #D6464D #95D646 #46D6CF
square
#8746D6 #D6464D #95D646 #46D6CF
split-complementary
#8746D6 #D6CF46 #4DD646
monochromatic
#4C1D84 #6828B6 #8746D6 #A778E1 #C8AAEC

Accessibility & contrast

On white

5.42
#8746D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8746D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746D6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746D6#FFFFFF#000000##FFFFFF
##8746D61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#756888
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8746d6;
/* rgb */ color: rgb(135, 70, 214);
/* oklch */ color: oklch(54.8% 0.210 300.2);
Tailwind
colors: {
  custom: {
    50: '#b07ee4',
    500: '#8746d6',
    950: '#000000',
  },
}
SCSS
$custom: #8746d6;
$custom-light: #b07ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8746d6",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 267.083,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.20997,
    "h": 300.2
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#8746D6
secondary
#BFDA9E
accent
#E7419C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8746D6

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

Preview Lab → · Contrast checker → · Palette generator →

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