#8741CC#8741CC

#8741CC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.205 H 303.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8741CC
RGBrgb(135, 65, 204)
HSLhsl(270, 58%, 53%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(33.8%, 68.1%, 0%, 20%)
CIE-LABlab(43.20, 55.41, -60.51)
CIE-LCHlch(43.20, 82.04, 312.48°)
OKLaboklab(53.47% 0.1122 -0.1721)
OKLCHoklch(53.47% 0.205 303.1)
XYZxyz(22.7785, 13.2911, 58.4804)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741CC #86CC41
analogous
#4241CC #8741CC #CC41CB
triadic
#8741CC #CC8741 #41CC87
tetradic
#8741CC #CC4241 #86CC41 #41CBCC
square
#8741CC #CC4241 #86CC41 #41CBCC
split-complementary
#8741CC #CBCC41 #41CC42
monochromatic
#4A1F74 #682CA4 #8741CC #A571D9 #C4A1E6

Accessibility & contrast

On white

5.74
#8741CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8741CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741CC#FFFFFF#000000##FFFFFF
##8741CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#796181
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8741cc;
/* rgb */ color: rgb(135, 65, 204);
/* oklch */ color: oklch(53.5% 0.205 303.1);
Tailwind
colors: {
  custom: {
    50: '#af7bdc',
    500: '#8741cc',
    950: '#000000',
  },
}
SCSS
$custom: #8741cc;
$custom-light: #af7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8741cc",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 270.216,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.20541,
    "h": 303.1
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#8741CC
secondary
#B4D396
accent
#E14793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741CC

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

Preview Lab → · Contrast checker → · Palette generator →

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