#8741B9#8741B9

#8741B9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.185 H 308.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8741B9
RGBrgb(135, 65, 185)
HSLhsl(275, 48%, 49%)
HSVhsv(275, 65%, 73%)
CMYKcmyk(27%, 64.9%, 0%, 27.5%)
CIE-LABlab(41.90, 50.96, -51.54)
CIE-LCHlch(41.90, 72.48, 314.67°)
OKLaboklab(52.13% 0.1141 -0.1457)
OKLCHoklch(52.13% 0.185 308.1)
XYZxyz(20.6371, 12.4346, 47.2025)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B9 #73B941
analogous
#4B41B9 #8741B9 #B941AF
triadic
#8741B9 #B98741 #41B987
tetradic
#8741B9 #B94B41 #73B941 #41AFB9
square
#8741B9 #B94B41 #73B941 #41AFB9
split-complementary
#8741B9 #AFB941 #41B94B
monochromatic
#45215E #66318C #8741B9 #A46CCB #C099DB

Accessibility & contrast

On white

6.02
#8741B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8741B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741B9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B9#FFFFFF#000000##FFFFFF
##8741B91.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#2B64B6
Tritanopia (blue-blind)
#7F5A77
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8741b9;
/* rgb */ color: rgb(135, 65, 185);
/* oklch */ color: oklch(52.1% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#ae7acf',
    500: '#8741b9',
    950: '#000000',
  },
}
SCSS
$custom: #8741b9;
$custom-light: #ae7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b9",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 275,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.18509,
    "h": 308.1
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8741B9

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

Preview Lab → · Contrast checker → · Palette generator →

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