#8746D7#8746D7

#8746D7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.211 H 300.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8746D7
RGBrgb(135, 70, 215)
HSLhsl(267, 64%, 56%)
HSVhsv(267, 67%, 84%)
CMYKcmyk(37.2%, 67.4%, 0%, 15.7%)
CIE-LABlab(44.85, 55.67, -64.15)
CIE-LCHlch(44.85, 84.94, 310.95°)
OKLaboklab(54.91% 0.1055 -0.1828)
OKLCHoklch(54.91% 0.211 300)
XYZxyz(24.4445, 14.4373, 65.7756)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746D7 #96D746
analogous
#464DD7 #8746D7 #D046D7
triadic
#8746D7 #D78746 #46D787
tetradic
#8746D7 #D7464D #96D746 #46D7D0
square
#8746D7 #D7464D #96D746 #46D7D0
split-complementary
#8746D7 #D7D046 #4DD746
monochromatic
#4C1D86 #6828B8 #8746D7 #A878E2 #C8ABED

Accessibility & contrast

On white

5.40
#8746D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8746D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746D7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746D7#FFFFFF#000000##FFFFFF
##8746D71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#756889
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8746d7;
/* rgb */ color: rgb(135, 70, 215);
/* oklch */ color: oklch(54.9% 0.211 300.0);
Tailwind
colors: {
  custom: {
    50: '#b07ee4',
    500: '#8746d7',
    950: '#000000',
  },
}
SCSS
$custom: #8746d7;
$custom-light: #b07ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8746d7",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 266.897,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.21106,
    "h": 300
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#8746D7
secondary
#C0DA9E
accent
#E7409D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8746D7

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

Preview Lab → · Contrast checker → · Palette generator →

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