#8746AF#8746AF

#8746AF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.167 H 310.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8746AF
RGBrgb(135, 70, 175)
HSLhsl(277, 43%, 48%)
HSVhsv(277, 60%, 69%)
CMYKcmyk(22.9%, 60%, 0%, 31.4%)
CIE-LABlab(42.20, 46.15, -45.18)
CIE-LCHlch(42.20, 64.58, 315.61°)
OKLaboklab(52.14% 0.1083 -0.1271)
OKLCHoklch(52.14% 0.167 310.4)
XYZxyz(19.9182, 12.6268, 41.9371)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746AF #6EAF46
analogous
#5346AF #8746AF #AF46A2
triadic
#8746AF #AF8746 #46AF87
tetradic
#8746AF #AF5346 #6EAF46 #46A2AF
square
#8746AF #AF5346 #6EAF46 #46A2AF
split-complementary
#8746AF #A2AF46 #46AF53
monochromatic
#442358 #653583 #8746AF #A36DC5 #BF99D6

Accessibility & contrast

On white

5.96
#8746AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8746AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746AF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746AF#FFFFFF#000000##FFFFFF
##8746AF1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#825A74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8746af;
/* rgb */ color: rgb(135, 70, 175);
/* oklch */ color: oklch(52.1% 0.167 310.4);
Tailwind
colors: {
  custom: {
    50: '#ad7dc7',
    500: '#8746af',
    950: '#000000',
  },
}
SCSS
$custom: #8746af;
$custom-light: #ad7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8746af",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 277.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.16697,
    "h": 310.4
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#8746AF
secondary
#A2C28E
accent
#D35585
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8746AF

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

Preview Lab → · Contrast checker → · Palette generator →

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