#8741B7#8741B7

#8741B7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.183 H 308.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8741B7
RGBrgb(135, 65, 183)
HSLhsl(276, 48%, 49%)
HSVhsv(276, 64%, 72%)
CMYKcmyk(26.2%, 64.5%, 0%, 28.2%)
CIE-LABlab(41.77, 50.50, -50.58)
CIE-LCHlch(41.77, 71.47, 314.96°)
OKLaboklab(51.99% 0.1142 -0.1429)
OKLCHoklch(51.99% 0.183 308.6)
XYZxyz(20.4275, 12.3507, 46.0984)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B7 #71B741
analogous
#4C41B7 #8741B7 #B741AC
triadic
#8741B7 #B78741 #41B787
tetradic
#8741B7 #B74C41 #71B741 #41ACB7
square
#8741B7 #B74C41 #71B741 #41ACB7
split-complementary
#8741B7 #ACB741 #41B74C
monochromatic
#44215D #66318A #8741B7 #A46BCA #BF98DA

Accessibility & contrast

On white

6.05
#8741B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8741B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741B7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B7#FFFFFF#000000##FFFFFF
##8741B71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#805976
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8741b7;
/* rgb */ color: rgb(135, 65, 183);
/* oklch */ color: oklch(52.0% 0.183 308.6);
Tailwind
colors: {
  custom: {
    50: '#ae7acd',
    500: '#8741b7',
    950: '#000000',
  },
}
SCSS
$custom: #8741b7;
$custom-light: #ae7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b7",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 275.593,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.18294,
    "h": 308.6
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8741B7

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

Preview Lab → · Contrast checker → · Palette generator →

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