#8746D9#8746D9

#8746D9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.213 H 299.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8746D9
RGBrgb(135, 70, 217)
HSLhsl(267, 66%, 56%)
HSVhsv(267, 68%, 85%)
CMYKcmyk(37.8%, 67.7%, 0%, 14.9%)
CIE-LABlab(45.00, 56.16, -65.06)
CIE-LCHlch(45.00, 85.95, 310.80°)
OKLaboklab(55.06% 0.1052 -0.1855)
OKLCHoklch(55.06% 0.213 299.6)
XYZxyz(24.7031, 14.5407, 67.1373)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746D9 #98D946
analogous
#464FD9 #8746D9 #D146D9
triadic
#8746D9 #D98746 #46D987
tetradic
#8746D9 #D9464F #98D946 #46D9D1
square
#8746D9 #D9464F #98D946 #46D9D1
split-complementary
#8746D9 #D9D146 #4FD946
monochromatic
#4C1C89 #6826BB #8746D9 #A879E3 #C9ACEE

Accessibility & contrast

On white

5.37
#8746D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8746D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746D9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746D9#FFFFFF#000000##FFFFFF
##8746D91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#74698A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8746d9;
/* rgb */ color: rgb(135, 70, 217);
/* oklch */ color: oklch(55.1% 0.213 299.6);
Tailwind
colors: {
  custom: {
    50: '#b07ee6',
    500: '#8746d9',
    950: '#000000',
  },
}
SCSS
$custom: #8746d9;
$custom-light: #b07ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8746d9",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 266.531,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.21325,
    "h": 299.6
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#8746D9
secondary
#C1DC9F
accent
#E93F9E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8746D9

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

Preview Lab → · Contrast checker → · Palette generator →

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