#8741C8#8741C8

#8741C8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.201 H 304.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8741C8
RGBrgb(135, 65, 200)
HSLhsl(271, 55%, 52%)
HSVhsv(271, 68%, 78%)
CMYKcmyk(32.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(42.92, 54.46, -58.65)
CIE-LCHlch(42.92, 80.03, 312.88°)
OKLaboklab(53.18% 0.1127 -0.1666)
OKLCHoklch(53.18% 0.201 304.1)
XYZxyz(22.3049, 13.1017, 55.9862)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741C8 #82C841
analogous
#4441C8 #8741C8 #C841C6
triadic
#8741C8 #C88741 #41C887
tetradic
#8741C8 #C84441 #82C841 #41C6C8
square
#8741C8 #C84441 #82C841 #41C6C8
split-complementary
#8741C8 #C6C841 #41C844
monochromatic
#49206F #682E9E #8741C8 #A570D6 #C3A0E3

Accessibility & contrast

On white

5.80
#8741C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8741C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741C8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741C8#FFFFFF#000000##FFFFFF
##8741C81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0965C5
Tritanopia (blue-blind)
#7B5F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8741c8;
/* rgb */ color: rgb(135, 65, 200);
/* oklch */ color: oklch(53.2% 0.201 304.1);
Tailwind
colors: {
  custom: {
    50: '#af7ad9',
    500: '#8741c8',
    950: '#000000',
  },
}
SCSS
$custom: #8741c8;
$custom-light: #af7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8741c8",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 271.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.20114,
    "h": 304.1
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#8741C8
secondary
#B1D095
accent
#DE4991
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741C8

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

Preview Lab → · Contrast checker → · Palette generator →

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