#8740CF#8740CF

#8740CF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.210 H 302.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8740CF
RGBrgb(135, 64, 207)
HSLhsl(270, 60%, 53%)
HSVhsv(270, 69%, 81%)
CMYKcmyk(34.8%, 69.1%, 0%, 18.8%)
CIE-LABlab(43.25, 56.59, -62.16)
CIE-LCHlch(43.25, 84.06, 312.31°)
OKLaboklab(53.58% 0.1128 -0.1769)
OKLCHoklch(53.58% 0.21 302.5)
XYZxyz(23.0849, 13.3226, 60.3747)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8740CF #88CF40
analogous
#4040CF #8740CF #CE40CF
triadic
#8740CF #CF8740 #40CF87
tetradic
#8740CF #CF4040 #88CF40 #40CFCE
square
#8740CF #CF4040 #88CF40 #40CFCE
split-complementary
#8740CF #CFCE40 #40CF40
monochromatic
#4A1E77 #682AA8 #8740CF #A671DB #C4A2E8

Accessibility & contrast

On white

5.73
#8740CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8740CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8740CF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8740CF#FFFFFF#000000##FFFFFF
##8740CF1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8740cf;
/* rgb */ color: rgb(135, 64, 207);
/* oklch */ color: oklch(53.6% 0.210 302.5);
Tailwind
colors: {
  custom: {
    50: '#af7adf',
    500: '#8740cf',
    950: '#000000',
  },
}
SCSS
$custom: #8740cf;
$custom-light: #af7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8740cf",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 269.79,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.20983,
    "h": 302.5
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8740CF

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

Preview Lab → · Contrast checker → · Palette generator →

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