#8740E0#8740E0

#8740E0 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.228 H 298.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8740E0
RGBrgb(135, 64, 224)
HSLhsl(267, 72%, 56%)
HSVhsv(267, 71%, 88%)
CMYKcmyk(39.7%, 71.4%, 0%, 12.2%)
CIE-LABlab(44.52, 60.68, -69.83)
CIE-LCHlch(44.52, 92.52, 310.99°)
OKLaboklab(54.88% 0.1099 -0.1995)
OKLCHoklch(54.88% 0.228 298.8)
XYZxyz(25.2762, 14.1992, 71.9156)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8740E0 #99E040
analogous
#4049E0 #8740E0 #D740E0
triadic
#8740E0 #E08740 #40E087
tetradic
#8740E0 #E04049 #99E040 #40E0D7
square
#8740E0 #E04049 #99E040 #40E0D7
split-complementary
#8740E0 #E0D740 #49E040
monochromatic
#4C178E #6820C3 #8740E0 #A875E9 #C9A9F1

Accessibility & contrast

On white

5.47
#8740E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8740E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8740E0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8740E0#FFFFFF#000000##FFFFFF
##8740E01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#72688C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8740e0;
/* rgb */ color: rgb(135, 64, 224);
/* oklch */ color: oklch(54.9% 0.228 298.8);
Tailwind
colors: {
  custom: {
    50: '#b17beb',
    500: '#8740e0',
    950: '#000000',
  },
}
SCSS
$custom: #8740e0;
$custom-light: #b17beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8740e0",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 224
  },
  "hsl": {
    "h": 266.625,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.22775,
    "h": 298.8
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#8740E0
secondary
#C2DF9D
accent
#EF399E
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8740E0

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

Preview Lab → · Contrast checker → · Palette generator →

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