#8741B1#8741B1

#8741B1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.177 H 310.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8741B1
RGBrgb(135, 65, 177)
HSLhsl(278, 46%, 47%)
HSVhsv(278, 63%, 69%)
CMYKcmyk(23.7%, 63.3%, 0%, 30.6%)
CIE-LABlab(41.38, 49.14, -47.66)
CIE-LCHlch(41.38, 68.45, 315.87°)
OKLaboklab(51.59% 0.1145 -0.1343)
OKLCHoklch(51.59% 0.177 310.4)
XYZxyz(19.8163, 12.1062, 42.8793)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B1 #6BB141
analogous
#4F41B1 #8741B1 #B141A3
triadic
#8741B1 #B18741 #41B187
tetradic
#8741B1 #B14F41 #6BB141 #41A3B1
square
#8741B1 #B14F41 #6BB141 #41A3B1
split-complementary
#8741B1 #A3B141 #41B14F
monochromatic
#432057 #653184 #8741B1 #A468C7 #BF95D8

Accessibility & contrast

On white

6.14
#8741B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8741B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741B1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B1#FFFFFF#000000##FFFFFF
##8741B11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085EB4
Deuteranopia (green-blind)
#3463AE
Tritanopia (blue-blind)
#825773
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8741b1;
/* rgb */ color: rgb(135, 65, 177);
/* oklch */ color: oklch(51.6% 0.177 310.4);
Tailwind
colors: {
  custom: {
    50: '#ad7ac9',
    500: '#8741b1',
    950: '#000000',
  },
}
SCSS
$custom: #8741b1;
$custom-light: #ad7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b1",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 277.5,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.17652,
    "h": 310.4
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#8741B1
secondary
#A0C38A
accent
#D65283
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741B1

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

Preview Lab → · Contrast checker → · Palette generator →

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