#8741B5#8741B5

#8741B5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.181 H 309.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8741B5
RGBrgb(135, 65, 181)
HSLhsl(276, 47%, 48%)
HSVhsv(276, 64%, 71%)
CMYKcmyk(25.4%, 64.1%, 0%, 29%)
CIE-LABlab(41.64, 50.04, -49.61)
CIE-LCHlch(41.64, 70.46, 315.25°)
OKLaboklab(51.86% 0.1144 -0.14)
OKLCHoklch(51.86% 0.181 309.2)
XYZxyz(20.2208, 12.2680, 45.0098)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741B5 #6FB541
analogous
#4D41B5 #8741B5 #B541A9
triadic
#8741B5 #B58741 #41B587
tetradic
#8741B5 #B54D41 #6FB541 #41A9B5
square
#8741B5 #B54D41 #6FB541 #41A9B5
split-complementary
#8741B5 #A9B541 #41B54D
monochromatic
#44215B #653188 #8741B5 #A36AC9 #BF97DA

Accessibility & contrast

On white

6.08
#8741B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8741B5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741B5#FFFFFF#000000##FFFFFF
##8741B51.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#805875
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8741b5;
/* rgb */ color: rgb(135, 65, 181);
/* oklch */ color: oklch(51.9% 0.181 309.2);
Tailwind
colors: {
  custom: {
    50: '#ae7acc',
    500: '#8741b5',
    950: '#000000',
  },
}
SCSS
$custom: #8741b5;
$custom-light: #ae7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#8741b5",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 276.207,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.1808,
    "h": 309.2
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#8741B5
secondary
#A3C58C
accent
#D75186
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8741B5

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

Preview Lab → · Contrast checker → · Palette generator →

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