#8741BD#8741BD

#8741BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.189 H 306.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8741BD
RGBrgb(135, 65, 189)
HSLhsl(274, 49%, 50%)
HSVhsv(274, 66%, 74%)
CMYKcmyk(28.6%, 65.6%, 0%, 25.9%)
CIE-LABlab(42.16, 51.88, -53.46)
CIE-LCHlch(42.16, 74.49, 314.14°)
OKLaboklab(52.4% 0.1138 -0.1514)
OKLCHoklch(52.4% 0.189 306.9)
XYZxyz(21.0653, 12.6059, 49.4577)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741BD #77BD41
analogous
#4941BD #8741BD #BD41B5
triadic
#8741BD #BD8741 #41BD87
tetradic
#8741BD #BD4941 #77BD41 #41B5BD
square
#8741BD #BD4941 #77BD41 #41B5BD
split-complementary
#8741BD #B5BD41 #41BD49
monochromatic
#462262 #66318F #8741BD #A46ECD #C09CDD

Accessibility & contrast

On white

5.96
#8741BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8741BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741BD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741BD#FFFFFF#000000##FFFFFF
##8741BD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#7E5B79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8741bd;
/* rgb */ color: rgb(135, 65, 189);
/* oklch */ color: oklch(52.4% 0.189 306.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ad2',
    500: '#8741bd',
    950: '#000000',
  },
}
SCSS
$custom: #8741bd;
$custom-light: #ae7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8741bd",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 273.871,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.18937,
    "h": 306.9
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#8741BD
secondary
#A9C991
accent
#D84F8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8741BD

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

Preview Lab → · Contrast checker → · Palette generator →

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