#8746E1#8746E1

#8746E1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.222 H 297.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8746E1
RGBrgb(135, 70, 225)
HSLhsl(265, 72%, 58%)
HSVhsv(265, 69%, 88%)
CMYKcmyk(40%, 68.9%, 0%, 11.8%)
CIE-LABlab(45.59, 58.14, -68.66)
CIE-LCHlch(45.59, 89.97, 310.26°)
OKLaboklab(55.66% 0.104 -0.196)
OKLCHoklch(55.66% 0.222 297.9)
XYZxyz(25.7690, 14.9670, 72.7508)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746E1 #A0E146
analogous
#4653E1 #8746E1 #D446E1
triadic
#8746E1 #E18746 #46E187
tetradic
#8746E1 #E14653 #A0E146 #46E1D4
square
#8746E1 #E14653 #A0E146 #46E1D4
split-complementary
#8746E1 #E1D446 #53E146
monochromatic
#4C1895 #6721C9 #8746E1 #A97BEA #CBAFF2

Accessibility & contrast

On white

5.26
#8746E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8746E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746E1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746E1#FFFFFF#000000##FFFFFF
##8746E11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#716C8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8746e1;
/* rgb */ color: rgb(135, 70, 225);
/* oklch */ color: oklch(55.7% 0.222 297.9);
Tailwind
colors: {
  custom: {
    50: '#b17eeb',
    500: '#8746e1',
    950: '#000000',
  },
}
SCSS
$custom: #8746e1;
$custom-light: #b17eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8746e1",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 265.161,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.22194,
    "h": 297.9
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#8746E1
secondary
#C6E0A2
accent
#EF39A3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8746E1

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

Preview Lab → · Contrast checker → · Palette generator →

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