#8746BB#8746BB

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

Color values

HEX#8746BB
RGBrgb(135, 70, 187)
HSLhsl(273, 46%, 50%)
HSVhsv(273, 63%, 73%)
CMYKcmyk(27.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(42.94, 48.93, -51.03)
CIE-LCHlch(42.94, 70.70, 313.79°)
OKLaboklab(52.92% 0.1081 -0.1442)
OKLCHoklch(52.92% 0.18 306.8)
XYZxyz(21.1496, 13.1193, 48.4222)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746BB #7ABB46
analogous
#4C46BB #8746BB #BB46B5
triadic
#8746BB #BB8746 #46BB87
tetradic
#8746BB #BB4C46 #7ABB46 #46B5BB
square
#8746BB #BB4C46 #7ABB46 #46B5BB
split-complementary
#8746BB #B5BB46 #46BB4C
monochromatic
#472462 #67358F #8746BB #A473CB #C1A0DC

Accessibility & contrast

On white

5.80
#8746BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8746BB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746BB#FFFFFF#000000##FFFFFF
##8746BB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#7F5E7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8746bb;
/* rgb */ color: rgb(135, 70, 187);
/* oklch */ color: oklch(52.9% 0.180 306.8);
Tailwind
colors: {
  custom: {
    50: '#ae7dd0',
    500: '#8746bb',
    950: '#000000',
  },
}
SCSS
$custom: #8746bb;
$custom-light: #ae7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8746bb",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 273.333,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52924,
    "c": 0.18024,
    "h": 306.8
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#8746BB
secondary
#ACC894
accent
#D6528D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8746BB

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

Preview Lab → · Contrast checker → · Palette generator →

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