#8741AA#8741AA

#8741AA is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.169 H 312.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8741AA
RGBrgb(135, 65, 170)
HSLhsl(280, 45%, 46%)
HSVhsv(280, 62%, 67%)
CMYKcmyk(20.6%, 61.8%, 0%, 33.3%)
CIE-LABlab(40.95, 47.57, -44.21)
CIE-LCHlch(40.95, 64.94, 317.10°)
OKLaboklab(51.14% 0.1147 -0.1242)
OKLCHoklch(51.14% 0.169 312.7)
XYZxyz(19.1364, 11.8343, 39.2986)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741AA #64AA41
analogous
#5241AA #8741AA #AA4198
triadic
#8741AA #AA8741 #41AA87
tetradic
#8741AA #AA5241 #64AA41 #4198AA
square
#8741AA #AA5241 #64AA41 #4198AA
split-complementary
#8741AA #98AA41 #41AA52
monochromatic
#411F51 #64307E #8741AA #A464C4 #BE91D5

Accessibility & contrast

On white

6.24
#8741AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8741AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8741AA#FFFFFF#000000##FFFFFF
##8741AA1.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)
#1A5DAD
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#83546F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8741aa;
/* rgb */ color: rgb(135, 65, 170);
/* oklch */ color: oklch(51.1% 0.169 312.7);
Tailwind
colors: {
  custom: {
    50: '#ad7ac4',
    500: '#8741aa',
    950: '#000000',
  },
}
SCSS
$custom: #8741aa;
$custom-light: #ad7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8741aa",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 280,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.16904,
    "h": 312.7
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#8741AA
secondary
#9AC087
accent
#D4537E
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741AA

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

Preview Lab → · Contrast checker → · Palette generator →

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