#8741A5#8741A5

#8741A5 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.8% C 0.164 H 314.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8741A5
RGBrgb(135, 65, 165)
HSLhsl(282, 43%, 45%)
HSVhsv(282, 61%, 65%)
CMYKcmyk(18.2%, 60.6%, 0%, 35.3%)
CIE-LABlab(40.65, 46.47, -41.71)
CIE-LCHlch(40.65, 62.44, 318.09°)
OKLaboklab(50.83% 0.1146 -0.1169)
OKLCHoklch(50.83% 0.164 314.4)
XYZxyz(18.6724, 11.6487, 36.8548)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741A5 #5FA541
analogous
#5541A5 #8741A5 #A54191
triadic
#8741A5 #A58741 #41A587
tetradic
#8741A5 #A55541 #5FA541 #4191A5
square
#8741A5 #A55541 #5FA541 #4191A5
split-complementary
#8741A5 #91A541 #41A555
monochromatic
#3F1E4D #633079 #8741A5 #A562C1 #BE8ED2

Accessibility & contrast

On white

6.31
#8741A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8741A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8741A5#FFFFFF#000000##FFFFFF
##8741A51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#85536D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8741a5;
/* rgb */ color: rgb(135, 65, 165);
/* oklch */ color: oklch(50.8% 0.164 314.4);
Tailwind
colors: {
  custom: {
    50: '#ad79c0',
    500: '#8741a5',
    950: '#000000',
  },
}
SCSS
$custom: #8741a5;
$custom-light: #ad79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8741a5",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 282,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50825,
    "c": 0.16372,
    "h": 314.4
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#8741A5
secondary
#95BE84
accent
#D3557B
background
#FAF7FB
surface
#F5EEF7
border
#CFC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8741A5

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

Preview Lab → · Contrast checker → · Palette generator →

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