#8746E3#8746E3

#8746E3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.224 H 297.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8746E3
RGBrgb(135, 70, 227)
HSLhsl(265, 74%, 58%)
HSVhsv(265, 69%, 89%)
CMYKcmyk(40.5%, 69.2%, 0%, 11%)
CIE-LABlab(45.74, 58.64, -69.55)
CIE-LCHlch(45.74, 90.97, 310.13°)
OKLaboklab(55.82% 0.1037 -0.1987)
OKLCHoklch(55.82% 0.224 297.6)
XYZxyz(26.0434, 15.0768, 74.1961)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746E3 #A2E346
analogous
#4653E3 #8746E3 #D646E3
triadic
#8746E3 #E38746 #46E387
tetradic
#8746E3 #E34653 #A2E346 #46E3D6
square
#8746E3 #E34653 #A2E346 #46E3D6
split-complementary
#8746E3 #E3D646 #53E346
monochromatic
#4C1798 #671FCD #8746E3 #A97BEB #CCB0F3

Accessibility & contrast

On white

5.23
#8746E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8746E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746E3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746E3#FFFFFF#000000##FFFFFF
##8746E31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#706C90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8746e3;
/* rgb */ color: rgb(135, 70, 227);
/* oklch */ color: oklch(55.8% 0.224 297.6);
Tailwind
colors: {
  custom: {
    50: '#b17eed',
    500: '#8746e3',
    950: '#000000',
  },
}
SCSS
$custom: #8746e3;
$custom-light: #b17eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8746e3",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 227
  },
  "hsl": {
    "h": 264.841,
    "s": 73.709,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.2241,
    "h": 297.6
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#8746E3
secondary
#C8E2A3
accent
#F037A4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8746E3

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

Preview Lab → · Contrast checker → · Palette generator →

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