#8741AB#8741AB

#8741AB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.170 H 312.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8741AB
RGBrgb(135, 65, 171)
HSLhsl(280, 45%, 46%)
HSVhsv(280, 62%, 67%)
CMYKcmyk(21.1%, 62%, 0%, 32.9%)
CIE-LABlab(41.01, 47.79, -44.70)
CIE-LCHlch(41.01, 65.44, 316.91°)
OKLaboklab(51.2% 0.1147 -0.1257)
OKLCHoklch(51.2% 0.17 312.4)
XYZxyz(19.2314, 11.8723, 39.7987)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741AB #65AB41
analogous
#5241AB #8741AB #AB419A
triadic
#8741AB #AB8741 #41AB87
tetradic
#8741AB #AB5241 #65AB41 #419AAB
square
#8741AB #AB5241 #65AB41 #419AAB
split-complementary
#8741AB #9AAB41 #41AB52
monochromatic
#411F52 #64307F #8741AB #A465C4 #BE91D5

Accessibility & contrast

On white

6.22
#8741AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8741AB#FFFFFF#000000##FFFFFF
##8741AB1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#835570
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8741ab;
/* rgb */ color: rgb(135, 65, 171);
/* oklch */ color: oklch(51.2% 0.170 312.4);
Tailwind
colors: {
  custom: {
    50: '#ad7ac4',
    500: '#8741ab',
    950: '#000000',
  },
}
SCSS
$custom: #8741ab;
$custom-light: #ad7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8741ab",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 279.623,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51203,
    "c": 0.1701,
    "h": 312.4
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#8741AB
secondary
#9BC187
accent
#D5537F
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741AB

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

Preview Lab → · Contrast checker → · Palette generator →

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