#8740B0#8740B0

#8740B0 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.177 H 310.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8740B0
RGBrgb(135, 64, 176)
HSLhsl(278, 47%, 47%)
HSVhsv(278, 64%, 69%)
CMYKcmyk(23.3%, 63.6%, 0%, 31%)
CIE-LABlab(41.14, 49.40, -47.46)
CIE-LCHlch(41.14, 68.51, 316.15°)
OKLaboklab(51.4% 0.1158 -0.1337)
OKLCHoklch(51.4% 0.177 310.9)
XYZxyz(19.6601, 11.9527, 42.3373)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8740B0 #69B040
analogous
#4F40B0 #8740B0 #B040A1
triadic
#8740B0 #B08740 #40B087
tetradic
#8740B0 #B04F40 #69B040 #40A1B0
square
#8740B0 #B04F40 #69B040 #40A1B0
split-complementary
#8740B0 #A1B040 #40B04F
monochromatic
#421F56 #653083 #8740B0 #A466C7 #BE93D8

Accessibility & contrast

On white

6.19
#8740B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8740B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8740B0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8740B0#FFFFFF#000000##FFFFFF
##8740B01.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065EB3
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#825672
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8740b0;
/* rgb */ color: rgb(135, 64, 176);
/* oklch */ color: oklch(51.4% 0.177 310.9);
Tailwind
colors: {
  custom: {
    50: '#ad79c8',
    500: '#8740b0',
    950: '#000000',
  },
}
SCSS
$custom: #8740b0;
$custom-light: #ad79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8740b0",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 278.036,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.17688,
    "h": 310.9
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#8740B0
secondary
#9EC389
accent
#D65182
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8740B0

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

Preview Lab → · Contrast checker → · Palette generator →

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