#8741BB#8741BB

#8741BB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.187 H 307.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8741BB
RGBrgb(135, 65, 187)
HSLhsl(274, 48%, 49%)
HSVhsv(274, 65%, 73%)
CMYKcmyk(27.8%, 65.2%, 0%, 26.7%)
CIE-LABlab(42.03, 51.42, -52.50)
CIE-LCHlch(42.03, 73.49, 314.40°)
OKLaboklab(52.26% 0.114 -0.1485)
OKLCHoklch(52.26% 0.187 307.5)
XYZxyz(20.8497, 12.5196, 48.3222)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741BB #75BB41
analogous
#4A41BB #8741BB #BB41B2
triadic
#8741BB #BB8741 #41BB87
tetradic
#8741BB #BB4A41 #75BB41 #41B2BB
square
#8741BB #BB4A41 #75BB41 #41B2BB
split-complementary
#8741BB #B2BB41 #41BB4A
monochromatic
#452160 #66318E #8741BB #A46DCC #C09ADC

Accessibility & contrast

On white

5.99
#8741BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8741BB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741BB#FFFFFF#000000##FFFFFF
##8741BB1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#7F5B78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8741bb;
/* rgb */ color: rgb(135, 65, 187);
/* oklch */ color: oklch(52.3% 0.187 307.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ad0',
    500: '#8741bb',
    950: '#000000',
  },
}
SCSS
$custom: #8741bb;
$custom-light: #ae7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8741bb",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 274.426,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.18723,
    "h": 307.5
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#8741BB
secondary
#A8C890
accent
#D8508A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8741BB

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

Preview Lab → · Contrast checker → · Palette generator →

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