#8746BA#8746BA

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

Color values

HEX#8746BA
RGBrgb(135, 70, 186)
HSLhsl(274, 46%, 50%)
HSVhsv(274, 62%, 73%)
CMYKcmyk(27.4%, 62.4%, 0%, 27.1%)
CIE-LABlab(42.88, 48.69, -50.55)
CIE-LCHlch(42.88, 70.19, 313.93°)
OKLaboklab(52.86% 0.1081 -0.1428)
OKLCHoklch(52.86% 0.179 307.1)
XYZxyz(21.0429, 13.0766, 47.8603)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746BA #79BA46
analogous
#4D46BA #8746BA #BA46B3
triadic
#8746BA #BA8746 #46BA87
tetradic
#8746BA #BA4D46 #79BA46 #46B3BA
square
#8746BA #BA4D46 #79BA46 #46B3BA
split-complementary
#8746BA #B3BA46 #46BA4D
monochromatic
#462461 #67358E #8746BA #A473CB #C19FDB

Accessibility & contrast

On white

5.81
#8746BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8746BA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746BA#FFFFFF#000000##FFFFFF
##8746BA1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8746ba;
/* rgb */ color: rgb(135, 70, 186);
/* oklch */ color: oklch(52.9% 0.179 307.1);
Tailwind
colors: {
  custom: {
    50: '#ae7dcf',
    500: '#8746ba',
    950: '#000000',
  },
}
SCSS
$custom: #8746ba;
$custom-light: #ae7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8746ba",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 273.621,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.17914,
    "h": 307.1
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#8746BA
secondary
#ABC894
accent
#D5528C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8746BA

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

Preview Lab → · Contrast checker → · Palette generator →

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