#8741B0#8741B0

#8741B0 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.175 H 310.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8741B0
RGBrgb(135, 65, 176)
HSLhsl(278, 46%, 47%)
HSVhsv(278, 63%, 69%)
CMYKcmyk(23.3%, 63.1%, 0%, 31%)
CIE-LABlab(41.32, 48.91, -47.17)
CIE-LCHlch(41.32, 67.95, 316.04°)
OKLaboklab(51.53% 0.1146 -0.1329)
OKLCHoklch(51.53% 0.175 310.8)
XYZxyz(19.7170, 12.0665, 42.3563)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B0 #6AB041
analogous
#5041B0 #8741B0 #B041A1
triadic
#8741B0 #B08741 #41B087
tetradic
#8741B0 #B05041 #6AB041 #41A1B0
square
#8741B0 #B05041 #6AB041 #41A1B0
split-complementary
#8741B0 #A1B041 #41B050
monochromatic
#422057 #653083 #8741B0 #A467C7 #BF94D7

Accessibility & contrast

On white

6.15
#8741B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8741B0#FFFFFF#000000##FFFFFF
##8741B01.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB3
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#825772
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8741b0;
/* rgb */ color: rgb(135, 65, 176);
/* oklch */ color: oklch(51.5% 0.175 310.8);
Tailwind
colors: {
  custom: {
    50: '#ad7ac8',
    500: '#8741b0',
    950: '#000000',
  },
}
SCSS
$custom: #8741b0;
$custom-light: #ad7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b0",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 277.838,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.17545,
    "h": 310.8
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#8741B0
secondary
#9FC38A
accent
#D65283
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741B0

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

Preview Lab → · Contrast checker → · Palette generator →

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