#8741B3#8741B3

#8741B3 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.179 H 309.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8741B3
RGBrgb(135, 65, 179)
HSLhsl(277, 47%, 48%)
HSVhsv(277, 64%, 70%)
CMYKcmyk(24.6%, 63.7%, 0%, 29.8%)
CIE-LABlab(41.51, 49.59, -48.64)
CIE-LCHlch(41.51, 69.46, 315.56°)
OKLaboklab(51.72% 0.1144 -0.1372)
OKLCHoklch(51.72% 0.179 309.8)
XYZxyz(20.0171, 12.1866, 43.9368)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B3 #6DB341
analogous
#4E41B3 #8741B3 #B341A6
triadic
#8741B3 #B38741 #41B387
tetradic
#8741B3 #B34E41 #6DB341 #41A6B3
square
#8741B3 #B34E41 #6DB341 #41A6B3
split-complementary
#8741B3 #A6B341 #41B34E
monochromatic
#432059 #653186 #8741B3 #A469C8 #BF96D9

Accessibility & contrast

On white

6.11
#8741B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8741B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741B3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B3#FFFFFF#000000##FFFFFF
##8741B31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015FB7
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#815874
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8741b3;
/* rgb */ color: rgb(135, 65, 179);
/* oklch */ color: oklch(51.7% 0.179 309.8);
Tailwind
colors: {
  custom: {
    50: '#ad7aca',
    500: '#8741b3',
    950: '#000000',
  },
}
SCSS
$custom: #8741b3;
$custom-light: #ad7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b3",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 276.842,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.17866,
    "h": 309.8
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#8741B3
secondary
#A1C48B
accent
#D65185
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8741B3

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

Preview Lab → · Contrast checker → · Palette generator →

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