#8741B6#8741B6

#8741B6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.182 H 308.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8741B6
RGBrgb(135, 65, 182)
HSLhsl(276, 47%, 48%)
HSVhsv(276, 64%, 71%)
CMYKcmyk(25.8%, 64.3%, 0%, 28.6%)
CIE-LABlab(41.70, 50.27, -50.09)
CIE-LCHlch(41.70, 70.97, 315.10°)
OKLaboklab(51.93% 0.1143 -0.1415)
OKLCHoklch(51.93% 0.182 308.9)
XYZxyz(20.3238, 12.3092, 45.5522)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B6 #70B641
analogous
#4C41B6 #8741B6 #B641AA
triadic
#8741B6 #B68741 #41B687
tetradic
#8741B6 #B64C41 #70B641 #41AAB6
square
#8741B6 #B64C41 #70B641 #41AAB6
split-complementary
#8741B6 #AAB641 #41B64C
monochromatic
#44215C #663189 #8741B6 #A36ACA #BF97DA

Accessibility & contrast

On white

6.07
#8741B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8741B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741B6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B6#FFFFFF#000000##FFFFFF
##8741B61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#2E63B3
Tritanopia (blue-blind)
#805976
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8741b6;
/* rgb */ color: rgb(135, 65, 182);
/* oklch */ color: oklch(51.9% 0.182 308.9);
Tailwind
colors: {
  custom: {
    50: '#ae7acc',
    500: '#8741b6',
    950: '#000000',
  },
}
SCSS
$custom: #8741b6;
$custom-light: #ae7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b6",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 275.897,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.18187,
    "h": 308.9
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#8741B6
secondary
#A4C68D
accent
#D75187
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8741B6

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

Preview Lab → · Contrast checker → · Palette generator →

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