#8746D4#8746D4

#8746D4 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.208 H 300.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8746D4
RGBrgb(135, 70, 212)
HSLhsl(267, 62%, 55%)
HSVhsv(267, 67%, 83%)
CMYKcmyk(36.3%, 67%, 0%, 16.9%)
CIE-LABlab(44.64, 54.93, -62.78)
CIE-LCHlch(44.64, 83.42, 311.19°)
OKLaboklab(54.68% 0.1059 -0.1788)
OKLCHoklch(54.68% 0.208 300.6)
XYZxyz(24.0626, 14.2845, 63.7641)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746D4 #93D446
analogous
#464CD4 #8746D4 #CE46D4
triadic
#8746D4 #D48746 #46D487
tetradic
#8746D4 #D4464C #93D446 #46D4CE
square
#8746D4 #D4464C #93D446 #46D4CE
split-complementary
#8746D4 #D4CE46 #4CD446
monochromatic
#4C1E81 #692AB3 #8746D4 #A778E0 #C7A9EB

Accessibility & contrast

On white

5.44
#8746D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8746D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746D4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746D4#FFFFFF#000000##FFFFFF
##8746D41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#766787
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8746d4;
/* rgb */ color: rgb(135, 70, 212);
/* oklch */ color: oklch(54.7% 0.208 300.6);
Tailwind
colors: {
  custom: {
    50: '#b07ee2',
    500: '#8746d4',
    950: '#000000',
  },
}
SCSS
$custom: #8746d4;
$custom-light: #b07ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8746d4",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 267.465,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.20779,
    "h": 300.6
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#8746D4
secondary
#BDD99D
accent
#E5429B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8746D4

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

Preview Lab → · Contrast checker → · Palette generator →

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