#8740D0#8740D0

#8740D0 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.211 H 302.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8740D0
RGBrgb(135, 64, 208)
HSLhsl(270, 61%, 53%)
HSVhsv(270, 69%, 82%)
CMYKcmyk(35.1%, 69.2%, 0%, 18.4%)
CIE-LABlab(43.32, 56.83, -62.62)
CIE-LCHlch(43.32, 84.56, 312.23°)
OKLaboklab(53.65% 0.1127 -0.1783)
OKLCHoklch(53.65% 0.211 302.3)
XYZxyz(23.2075, 13.3717, 61.0206)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8740D0 #89D040
analogous
#4041D0 #8740D0 #CF40D0
triadic
#8740D0 #D08740 #40D087
tetradic
#8740D0 #D04041 #89D040 #40D0CF
square
#8740D0 #D04041 #89D040 #40D0CF
split-complementary
#8740D0 #D0CF40 #41D040
monochromatic
#4A1E78 #692AA9 #8740D0 #A671DC #C5A2E8

Accessibility & contrast

On white

5.72
#8740D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8740D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8740D0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8740D0#FFFFFF#000000##FFFFFF
##8740D01.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#786283
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8740d0;
/* rgb */ color: rgb(135, 64, 208);
/* oklch */ color: oklch(53.6% 0.211 302.3);
Tailwind
colors: {
  custom: {
    50: '#b07adf',
    500: '#8740d0',
    950: '#000000',
  },
}
SCSS
$custom: #8740d0;
$custom-light: #b07adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8740d0",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 269.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.21089,
    "h": 302.3
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#8740D0
secondary
#B6D597
accent
#E44495
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8740D0

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

Preview Lab → · Contrast checker → · Palette generator →

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