#8746CC#8746CC

#8746CC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.199 H 302.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8746CC
RGBrgb(135, 70, 204)
HSLhsl(269, 57%, 54%)
HSVhsv(269, 66%, 80%)
CMYKcmyk(33.8%, 65.7%, 0%, 20%)
CIE-LABlab(44.08, 52.98, -59.09)
CIE-LCHlch(44.08, 79.36, 311.88°)
OKLaboklab(54.1% 0.1068 -0.1679)
OKLCHoklch(54.1% 0.199 302.5)
XYZxyz(23.0784, 13.8908, 58.5804)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8746CC #8BCC46
analogous
#4648CC #8746CC #CA46CC
triadic
#8746CC #CC8746 #46CC87
tetradic
#8746CC #CC4648 #8BCC46 #46CCCA
square
#8746CC #CC4648 #8BCC46 #46CCCA
split-complementary
#8746CC #CCCA46 #48CC46
monochromatic
#4B2177 #692EA7 #8746CC #A676D9 #C5A6E6

Accessibility & contrast

On white

5.56
#8746CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8746CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8746CC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8746CC#FFFFFF#000000##FFFFFF
##8746CC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0D68C9
Tritanopia (blue-blind)
#796483
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8746cc;
/* rgb */ color: rgb(135, 70, 204);
/* oklch */ color: oklch(54.1% 0.199 302.5);
Tailwind
colors: {
  custom: {
    50: '#af7edc',
    500: '#8746cc',
    950: '#000000',
  },
}
SCSS
$custom: #8746cc;
$custom-light: #af7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8746cc",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 269.104,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.19901,
    "h": 302.5
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#8746CC
secondary
#B8D49A
accent
#E04896
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8746CC

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

Preview Lab → · Contrast checker → · Palette generator →

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