#8741BA#8741BA

#8741BA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.186 H 307.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8741BA
RGBrgb(135, 65, 186)
HSLhsl(275, 48%, 49%)
HSVhsv(275, 65%, 73%)
CMYKcmyk(27.4%, 65.1%, 0%, 27.1%)
CIE-LABlab(41.96, 51.19, -52.02)
CIE-LCHlch(41.96, 72.98, 314.54°)
OKLaboklab(52.2% 0.1141 -0.1471)
OKLCHoklch(52.2% 0.186 307.8)
XYZxyz(20.7431, 12.4769, 47.7604)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741BA #74BA41
analogous
#4B41BA #8741BA #BA41B1
triadic
#8741BA #BA8741 #41BA87
tetradic
#8741BA #BA4B41 #74BA41 #41B1BA
square
#8741BA #BA4B41 #74BA41 #41B1BA
split-complementary
#8741BA #B1BA41 #41BA4B
monochromatic
#45215F #66318D #8741BA #A46CCC #C09ADC

Accessibility & contrast

On white

6.01
#8741BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8741BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741BA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741BA#FFFFFF#000000##FFFFFF
##8741BA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#7F5A78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8741ba;
/* rgb */ color: rgb(135, 65, 186);
/* oklch */ color: oklch(52.2% 0.186 307.8);
Tailwind
colors: {
  custom: {
    50: '#ae7acf',
    500: '#8741ba',
    950: '#000000',
  },
}
SCSS
$custom: #8741ba;
$custom-light: #ae7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8741ba",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 274.711,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.18616,
    "h": 307.8
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#8741BA
secondary
#A7C88F
accent
#D85089
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8741BA

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

Preview Lab → · Contrast checker → · Palette generator →

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