#8746BC#8746BC

#8746BC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.181 H 306.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8746BC
RGBrgb(135, 70, 188)
HSLhsl(273, 47%, 51%)
HSVhsv(273, 63%, 74%)
CMYKcmyk(28.2%, 62.8%, 0%, 26.3%)
CIE-LABlab(43.01, 49.16, -51.52)
CIE-LCHlch(43.01, 71.21, 313.66°)
OKLaboklab(52.99% 0.108 -0.1457)
OKLCHoklch(52.99% 0.181 306.6)
XYZxyz(21.2570, 13.1623, 48.9879)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746BC #7BBC46
analogous
#4C46BC #8746BC #BC46B6
triadic
#8746BC #BC8746 #46BC87
tetradic
#8746BC #BC4C46 #7BBC46 #46B6BC
square
#8746BC #BC4C46 #7BBC46 #46B6BC
split-complementary
#8746BC #B6BC46 #46BC4C
monochromatic
#472464 #673490 #8746BC #A473CC #C1A0DD

Accessibility & contrast

On white

5.78
#8746BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8746BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746BC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746BC#FFFFFF#000000##FFFFFF
##8746BC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#7E5E7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8746bc;
/* rgb */ color: rgb(135, 70, 188);
/* oklch */ color: oklch(53.0% 0.181 306.6);
Tailwind
colors: {
  custom: {
    50: '#ae7dd1',
    500: '#8746bc',
    950: '#000000',
  },
}
SCSS
$custom: #8746bc;
$custom-light: #ae7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8746bc",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 273.051,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.18135,
    "h": 306.6
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#8746BC
secondary
#ACC995
accent
#D6518D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8746BC

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

Preview Lab → · Contrast checker → · Palette generator →

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