#8741AF#8741AF

#8741AF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.174 H 311.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8741AF
RGBrgb(135, 65, 175)
HSLhsl(278, 46%, 47%)
HSVhsv(278, 63%, 69%)
CMYKcmyk(22.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(41.26, 48.68, -46.68)
CIE-LCHlch(41.26, 67.45, 316.21°)
OKLaboklab(51.46% 0.1146 -0.1314)
OKLCHoklch(51.46% 0.174 311.1)
XYZxyz(19.6184, 12.0271, 41.8371)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741AF #69AF41
analogous
#5041AF #8741AF #AF41A0
triadic
#8741AF #AF8741 #41AF87
tetradic
#8741AF #AF5041 #69AF41 #41A0AF
square
#8741AF #AF5041 #69AF41 #41A0AF
split-complementary
#8741AF #A0AF41 #41AF50
monochromatic
#422056 #653082 #8741AF #A467C6 #BE93D7

Accessibility & contrast

On white

6.17
#8741AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8741AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8741AF#FFFFFF#000000##FFFFFF
##8741AF1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB2
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#825672
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8741af;
/* rgb */ color: rgb(135, 65, 175);
/* oklch */ color: oklch(51.5% 0.174 311.1);
Tailwind
colors: {
  custom: {
    50: '#ad7ac7',
    500: '#8741af',
    950: '#000000',
  },
}
SCSS
$custom: #8741af;
$custom-light: #ad7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8741af",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 278.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.17438,
    "h": 311.1
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#8741AF
secondary
#9EC289
accent
#D55282
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741AF

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

Preview Lab → · Contrast checker → · Palette generator →

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