#8741AE#8741AE

#8741AE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.173 H 311.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8741AE
RGBrgb(135, 65, 174)
HSLhsl(279, 46%, 47%)
HSVhsv(279, 63%, 68%)
CMYKcmyk(22.4%, 62.6%, 0%, 31.8%)
CIE-LABlab(41.20, 48.46, -46.19)
CIE-LCHlch(41.20, 66.94, 316.38°)
OKLaboklab(51.4% 0.1146 -0.13)
OKLCHoklch(51.4% 0.173 311.4)
XYZxyz(19.5205, 11.9879, 41.3218)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741AE #68AE41
analogous
#5041AE #8741AE #AE419F
triadic
#8741AE #AE8741 #41AE87
tetradic
#8741AE #AE5041 #68AE41 #419FAE
square
#8741AE #AE5041 #68AE41 #419FAE
split-complementary
#8741AE #9FAE41 #41AE50
monochromatic
#422055 #643081 #8741AE #A466C6 #BE93D7

Accessibility & contrast

On white

6.18
#8741AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8741AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741AE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741AE#FFFFFF#000000##FFFFFF
##8741AE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB1
Deuteranopia (green-blind)
#3763AB
Tritanopia (blue-blind)
#825671
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8741ae;
/* rgb */ color: rgb(135, 65, 174);
/* oklch */ color: oklch(51.4% 0.173 311.4);
Tailwind
colors: {
  custom: {
    50: '#ad7ac7',
    500: '#8741ae',
    950: '#000000',
  },
}
SCSS
$custom: #8741ae;
$custom-light: #ad7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8741ae",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 278.532,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.17331,
    "h": 311.4
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#8741AE
secondary
#9DC289
accent
#D55381
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8741AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva