#8741CF#8741CF

#8741CF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.209 H 302.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8741CF
RGBrgb(135, 65, 207)
HSLhsl(270, 60%, 53%)
HSVhsv(270, 69%, 81%)
CMYKcmyk(34.8%, 68.6%, 0%, 18.8%)
CIE-LABlab(43.41, 56.12, -61.89)
CIE-LCHlch(43.41, 83.55, 312.20°)
OKLaboklab(53.7% 0.1118 -0.1761)
OKLCHoklch(53.7% 0.209 302.4)
XYZxyz(23.1418, 13.4364, 60.3937)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8741CF #89CF41
analogous
#4142CF #8741CF #CE41CF
triadic
#8741CF #CF8741 #41CF87
tetradic
#8741CF #CF4142 #89CF41 #41CFCE
square
#8741CF #CF4142 #89CF41 #41CFCE
split-complementary
#8741CF #CFCE41 #42CF41
monochromatic
#4A1E77 #692BA8 #8741CF #A672DB #C5A3E8

Accessibility & contrast

On white

5.70
#8741CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8741CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8741CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8741CF#FFFFFF#000000##FFFFFF
##8741CF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#786283
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8741cf;
/* rgb */ color: rgb(135, 65, 207);
/* oklch */ color: oklch(53.7% 0.209 302.4);
Tailwind
colors: {
  custom: {
    50: '#af7bdf',
    500: '#8741cf',
    950: '#000000',
  },
}
SCSS
$custom: #8741cf;
$custom-light: #af7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8741cf",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 269.577,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.20861,
    "h": 302.4
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#8741CF
secondary
#B6D497
accent
#E34595
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8741CF

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

Preview Lab → · Contrast checker → · Palette generator →

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