#8746E0#8746E0

#8746E0 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.221 H 298.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8746E0
RGBrgb(135, 70, 224)
HSLhsl(265, 71%, 58%)
HSVhsv(265, 69%, 88%)
CMYKcmyk(39.7%, 68.8%, 0%, 12.2%)
CIE-LABlab(45.51, 57.89, -68.21)
CIE-LCHlch(45.51, 89.47, 310.32°)
OKLaboklab(55.59% 0.1042 -0.1947)
OKLCHoklch(55.59% 0.221 298.1)
XYZxyz(25.6329, 14.9126, 72.0345)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746E0 #9FE046
analogous
#4652E0 #8746E0 #D446E0
triadic
#8746E0 #E08746 #46E087
tetradic
#8746E0 #E04652 #9FE046 #46E0D4
square
#8746E0 #E04652 #9FE046 #46E0D4
split-complementary
#8746E0 #E0D446 #52E046
monochromatic
#4C1993 #6721C7 #8746E0 #A97AE9 #CBAFF2

Accessibility & contrast

On white

5.27
#8746E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8746E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746E0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746E0#FFFFFF#000000##FFFFFF
##8746E01.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#716B8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8746e0;
/* rgb */ color: rgb(135, 70, 224);
/* oklch */ color: oklch(55.6% 0.221 298.1);
Tailwind
colors: {
  custom: {
    50: '#b17eeb',
    500: '#8746e0',
    950: '#000000',
  },
}
SCSS
$custom: #8746e0;
$custom-light: #b17eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8746e0",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 265.325,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.22086,
    "h": 298.1
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8746E0

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

Preview Lab → · Contrast checker → · Palette generator →

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