#8741BC#8741BC

#8741BC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.188 H 307.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8741BC
RGBrgb(135, 65, 188)
HSLhsl(274, 49%, 50%)
HSVhsv(274, 65%, 74%)
CMYKcmyk(28.2%, 65.4%, 0%, 26.3%)
CIE-LABlab(42.10, 51.65, -52.98)
CIE-LCHlch(42.10, 73.99, 314.27°)
OKLaboklab(52.33% 0.1139 -0.1499)
OKLCHoklch(52.33% 0.188 307.2)
XYZxyz(20.9572, 12.5626, 48.8880)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741BC #76BC41
analogous
#4941BC #8741BC #BC41B4
triadic
#8741BC #BC8741 #41BC87
tetradic
#8741BC #BC4941 #76BC41 #41B4BC
square
#8741BC #BC4941 #76BC41 #41B4BC
split-complementary
#8741BC #B4BC41 #41BC49
monochromatic
#462261 #66318F #8741BC #A46ECD #C09BDC

Accessibility & contrast

On white

5.98
#8741BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8741BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741BC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741BC#FFFFFF#000000##FFFFFF
##8741BC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#7E5B79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8741bc;
/* rgb */ color: rgb(135, 65, 188);
/* oklch */ color: oklch(52.3% 0.188 307.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ad1',
    500: '#8741bc',
    950: '#000000',
  },
}
SCSS
$custom: #8741bc;
$custom-light: #ae7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8741bc",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 274.146,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.1883,
    "h": 307.2
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8741BC

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

Preview Lab → · Contrast checker → · Palette generator →

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