#8741B4#8741B4

#8741B4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.180 H 309.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8741B4
RGBrgb(135, 65, 180)
HSLhsl(277, 47%, 48%)
HSVhsv(277, 64%, 71%)
CMYKcmyk(25%, 63.9%, 0%, 29.4%)
CIE-LABlab(41.58, 49.81, -49.12)
CIE-LCHlch(41.58, 69.96, 315.40°)
OKLaboklab(51.79% 0.1144 -0.1386)
OKLCHoklch(51.79% 0.18 309.5)
XYZxyz(20.1186, 12.2272, 44.4714)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B4 #6EB441
analogous
#4D41B4 #8741B4 #B441A7
triadic
#8741B4 #B48741 #41B487
tetradic
#8741B4 #B44D41 #6EB441 #41A7B4
square
#8741B4 #B44D41 #6EB441 #41A7B4
split-complementary
#8741B4 #A7B441 #41B44D
monochromatic
#44215A #653187 #8741B4 #A369C9 #BF96D9

Accessibility & contrast

On white

6.10
#8741B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8741B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741B4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B4#FFFFFF#000000##FFFFFF
##8741B41.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#815875
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8741b4;
/* rgb */ color: rgb(135, 65, 180);
/* oklch */ color: oklch(51.8% 0.180 309.5);
Tailwind
colors: {
  custom: {
    50: '#ad7acb',
    500: '#8741b4',
    950: '#000000',
  },
}
SCSS
$custom: #8741b4;
$custom-light: #ad7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b4",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 276.522,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.17973,
    "h": 309.5
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#8741B4
secondary
#A2C58C
accent
#D75185
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8741B4

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

Preview Lab → · Contrast checker → · Palette generator →

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