#8740AD#8740AD

#8740AD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.174 H 311.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8740AD
RGBrgb(135, 64, 173)
HSLhsl(279, 46%, 46%)
HSVhsv(279, 63%, 68%)
CMYKcmyk(22%, 63%, 0%, 32.2%)
CIE-LABlab(40.95, 48.73, -45.98)
CIE-LCHlch(40.95, 67.00, 316.66°)
OKLaboklab(51.2% 0.1159 -0.1294)
OKLCHoklch(51.2% 0.174 311.8)
XYZxyz(19.3665, 11.8353, 40.7913)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8740AD #66AD40
analogous
#5140AD #8740AD #AD409D
triadic
#8740AD #AD8740 #40AD87
tetradic
#8740AD #AD5140 #66AD40 #409DAD
square
#8740AD #AD5140 #66AD40 #409DAD
split-complementary
#8740AD #9DAD40 #40AD51
monochromatic
#411F54 #642F80 #8740AD #A464C6 #BE91D6

Accessibility & contrast

On white

6.24
#8740AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8740AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8740AD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8740AD#FFFFFF#000000##FFFFFF
##8740AD1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105DB0
Deuteranopia (green-blind)
#3762AA
Tritanopia (blue-blind)
#835571
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8740ad;
/* rgb */ color: rgb(135, 64, 173);
/* oklch */ color: oklch(51.2% 0.174 311.8);
Tailwind
colors: {
  custom: {
    50: '#ad79c6',
    500: '#8740ad',
    950: '#000000',
  },
}
SCSS
$custom: #8740ad;
$custom-light: #ad79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8740ad",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 279.083,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.512,
    "c": 0.1737,
    "h": 311.8
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#8740AD
secondary
#9CC287
accent
#D65280
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8740AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8740AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva