#8741C1#8741C1

#8741C1 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.194 H 305.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8741C1
RGBrgb(135, 65, 193)
HSLhsl(273, 51%, 51%)
HSVhsv(273, 66%, 76%)
CMYKcmyk(30.1%, 66.3%, 0%, 24.3%)
CIE-LABlab(42.43, 52.81, -55.36)
CIE-LCHlch(42.43, 76.51, 313.65°)
OKLaboklab(52.68% 0.1135 -0.1569)
OKLCHoklch(52.68% 0.194 305.9)
XYZxyz(21.5055, 12.7819, 51.7760)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741C1 #7BC141
analogous
#4741C1 #8741C1 #C141BB
triadic
#8741C1 #C18741 #41C187
tetradic
#8741C1 #C14741 #7BC141 #41BBC1
square
#8741C1 #C14741 #7BC141 #41BBC1
split-complementary
#8741C1 #BBC141 #41C147
monochromatic
#472166 #673094 #8741C1 #A46FD0 #C19DDF

Accessibility & contrast

On white

5.90
#8741C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8741C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741C1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741C1#FFFFFF#000000##FFFFFF
##8741C11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#1E64BE
Tritanopia (blue-blind)
#7D5D7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8741c1;
/* rgb */ color: rgb(135, 65, 193);
/* oklch */ color: oklch(52.7% 0.194 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ad4',
    500: '#8741c1',
    950: '#000000',
  },
}
SCSS
$custom: #8741c1;
$custom-light: #ae7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8741c1",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 272.813,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.19366,
    "h": 305.9
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#8741C1
secondary
#ACCB92
accent
#DA4E8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8741C1

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

Preview Lab → · Contrast checker → · Palette generator →

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