#8741AD#8741AD

#8741AD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.172 H 311.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8741AD
RGBrgb(135, 65, 173)
HSLhsl(279, 45%, 47%)
HSVhsv(279, 62%, 68%)
CMYKcmyk(22%, 62.4%, 0%, 32.2%)
CIE-LABlab(41.14, 48.24, -45.69)
CIE-LCHlch(41.14, 66.44, 316.55°)
OKLaboklab(51.33% 0.1146 -0.1286)
OKLCHoklch(51.33% 0.172 311.7)
XYZxyz(19.4234, 11.9491, 40.8103)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741AD #67AD41
analogous
#5141AD #8741AD #AD419D
triadic
#8741AD #AD8741 #41AD87
tetradic
#8741AD #AD5141 #67AD41 #419DAD
square
#8741AD #AD5141 #67AD41 #419DAD
split-complementary
#8741AD #9DAD41 #41AD51
monochromatic
#422054 #643081 #8741AD #A466C5 #BE92D6

Accessibility & contrast

On white

6.20
#8741AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8741AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8741AD#FFFFFF#000000##FFFFFF
##8741AD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB0
Deuteranopia (green-blind)
#3862AA
Tritanopia (blue-blind)
#835571
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8741ad;
/* rgb */ color: rgb(135, 65, 173);
/* oklch */ color: oklch(51.3% 0.172 311.7);
Tailwind
colors: {
  custom: {
    50: '#ad7ac6',
    500: '#8741ad',
    950: '#000000',
  },
}
SCSS
$custom: #8741ad;
$custom-light: #ad7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8741ad",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 278.889,
    "s": 45.378,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51331,
    "c": 0.17224,
    "h": 311.7
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#8741AD
secondary
#9CC288
accent
#D55381
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741AD

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

Preview Lab → · Contrast checker → · Palette generator →

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