#8741C5#8741C5

#8741C5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.198 H 304.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8741C5
RGBrgb(135, 65, 197)
HSLhsl(272, 53%, 51%)
HSVhsv(272, 67%, 77%)
CMYKcmyk(31.5%, 67%, 0%, 22.7%)
CIE-LABlab(42.71, 53.75, -57.24)
CIE-LCHlch(42.71, 78.52, 313.20°)
OKLaboklab(52.97% 0.1131 -0.1625)
OKLCHoklch(52.97% 0.198 304.8)
XYZxyz(21.9578, 12.9628, 54.1578)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741C5 #7FC541
analogous
#4541C5 #8741C5 #C541C1
triadic
#8741C5 #C58741 #41C587
tetradic
#8741C5 #C54541 #7FC541 #41C1C5
square
#8741C5 #C54541 #7FC541 #41C1C5
split-complementary
#8741C5 #C1C541 #41C545
monochromatic
#48216B #682F9A #8741C5 #A570D3 #C29FE2

Accessibility & contrast

On white

5.85
#8741C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8741C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741C5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741C5#FFFFFF#000000##FFFFFF
##8741C51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#1465C2
Tritanopia (blue-blind)
#7C5E7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8741c5;
/* rgb */ color: rgb(135, 65, 197);
/* oklch */ color: oklch(53.0% 0.198 304.8);
Tailwind
colors: {
  custom: {
    50: '#af7ad7',
    500: '#8741c5',
    950: '#000000',
  },
}
SCSS
$custom: #8741c5;
$custom-light: #af7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8741c5",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 271.818,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.19793,
    "h": 304.8
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#8741C5
secondary
#AFCE94
accent
#DD4B8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8741C5

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

Preview Lab → · Contrast checker → · Palette generator →

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