#8746BF#8746BF

#8746BF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.185 H 305.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8746BF
RGBrgb(135, 70, 191)
HSLhsl(272, 49%, 51%)
HSVhsv(272, 63%, 75%)
CMYKcmyk(29.3%, 63.4%, 0%, 25.1%)
CIE-LABlab(43.20, 49.87, -52.95)
CIE-LCHlch(43.20, 72.74, 313.28°)
OKLaboklab(53.19% 0.1079 -0.1499)
OKLCHoklch(53.19% 0.185 305.7)
XYZxyz(21.5838, 13.2930, 50.7089)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746BF #7EBF46
analogous
#4A46BF #8746BF #BF46BA
triadic
#8746BF #BF8746 #46BF87
tetradic
#8746BF #BF4A46 #7EBF46 #46BABF
square
#8746BF #BF4A46 #7EBF46 #46BABF
split-complementary
#8746BF #BABF46 #46BF4A
monochromatic
#482467 #683394 #8746BF #A473CF #C2A1DE

Accessibility & contrast

On white

5.74
#8746BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8746BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746BF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746BF#FFFFFF#000000##FFFFFF
##8746BF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#7D5F7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8746bf;
/* rgb */ color: rgb(135, 70, 191);
/* oklch */ color: oklch(53.2% 0.185 305.7);
Tailwind
colors: {
  custom: {
    50: '#ae7dd3',
    500: '#8746bf',
    950: '#000000',
  },
}
SCSS
$custom: #8746bf;
$custom-light: #ae7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8746bf",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 272.231,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.18466,
    "h": 305.7
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#8746BF
secondary
#AECB96
accent
#D8508F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8746BF

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

Preview Lab → · Contrast checker → · Palette generator →

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