#8746D8#8746D8

#8746D8 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.212 H 299.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8746D8
RGBrgb(135, 70, 216)
HSLhsl(267, 65%, 56%)
HSVhsv(267, 68%, 85%)
CMYKcmyk(37.5%, 67.6%, 0%, 15.3%)
CIE-LABlab(44.93, 55.91, -64.60)
CIE-LCHlch(44.93, 85.44, 310.88°)
OKLaboklab(54.98% 0.1054 -0.1841)
OKLCHoklch(54.98% 0.212 299.8)
XYZxyz(24.5734, 14.4888, 66.4544)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746D8 #97D846
analogous
#464ED8 #8746D8 #D046D8
triadic
#8746D8 #D88746 #46D887
tetradic
#8746D8 #D8464E #97D846 #46D8D0
square
#8746D8 #D8464E #97D846 #46D8D0
split-complementary
#8746D8 #D8D046 #4ED846
monochromatic
#4C1C87 #6827BA #8746D8 #A879E3 #C9ABED

Accessibility & contrast

On white

5.39
#8746D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8746D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746D8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746D8#FFFFFF#000000##FFFFFF
##8746D81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#75688A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8746d8;
/* rgb */ color: rgb(135, 70, 216);
/* oklch */ color: oklch(55.0% 0.212 299.8);
Tailwind
colors: {
  custom: {
    50: '#b07ee5',
    500: '#8746d8',
    950: '#000000',
  },
}
SCSS
$custom: #8746d8;
$custom-light: #b07ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8746d8",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 266.712,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.21215,
    "h": 299.8
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#8746D8
secondary
#C0DB9F
accent
#E8409D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8746D8

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

Preview Lab → · Contrast checker → · Palette generator →

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