#8741C7#8741C7

#8741C7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.200 H 304.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8741C7
RGBrgb(135, 65, 199)
HSLhsl(271, 54%, 52%)
HSVhsv(271, 67%, 78%)
CMYKcmyk(32.2%, 67.3%, 0%, 22%)
CIE-LABlab(42.85, 54.22, -58.18)
CIE-LCHlch(42.85, 79.53, 312.98°)
OKLaboklab(53.11% 0.1128 -0.1652)
OKLCHoklch(53.11% 0.2 304.3)
XYZxyz(22.1884, 13.0551, 55.3727)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741C7 #81C741
analogous
#4441C7 #8741C7 #C741C4
triadic
#8741C7 #C78741 #41C787
tetradic
#8741C7 #C74441 #81C741 #41C4C7
square
#8741C7 #C74441 #81C741 #41C4C7
split-complementary
#8741C7 #C4C741 #41C744
monochromatic
#49206D #682E9D #8741C7 #A570D5 #C3A0E3

Accessibility & contrast

On white

5.82
#8741C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8741C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741C7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741C7#FFFFFF#000000##FFFFFF
##8741C71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0E65C4
Tritanopia (blue-blind)
#7B5F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8741c7;
/* rgb */ color: rgb(135, 65, 199);
/* oklch */ color: oklch(53.1% 0.200 304.3);
Tailwind
colors: {
  custom: {
    50: '#af7ad9',
    500: '#8741c7',
    950: '#000000',
  },
}
SCSS
$custom: #8741c7;
$custom-light: #af7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8741c7",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 271.343,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.20008,
    "h": 304.3
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#8741C7
secondary
#B1CF95
accent
#DE4A91
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741C7

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

Preview Lab → · Contrast checker → · Palette generator →

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