#8747CF#8747CF

#8747CF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.201 H 301.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8747CF
RGBrgb(135, 71, 207)
HSLhsl(268, 59%, 55%)
HSVhsv(268, 66%, 81%)
CMYKcmyk(34.8%, 65.7%, 0%, 18.8%)
CIE-LABlab(44.46, 53.22, -60.19)
CIE-LCHlch(44.46, 80.34, 311.48°)
OKLaboklab(54.45% 0.1054 -0.1711)
OKLCHoklch(54.45% 0.201 301.6)
XYZxyz(23.5047, 14.1623, 60.5147)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747CF #8FCF47
analogous
#474BCF #8747CF #CB47CF
triadic
#8747CF #CF8747 #47CF87
tetradic
#8747CF #CF474B #8FCF47 #47CFCB
square
#8747CF #CF474B #8FCF47 #47CFCB
split-complementary
#8747CF #CFCB47 #4BCF47
monochromatic
#4B207B #692DAC #8747CF #A778DC #C6A8E8

Accessibility & contrast

On white

5.48
#8747CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8747CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747CF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747CF#FFFFFF#000000##FFFFFF
##8747CF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0368CC
Tritanopia (blue-blind)
#786685
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8747cf;
/* rgb */ color: rgb(135, 71, 207);
/* oklch */ color: oklch(54.4% 0.201 301.6);
Tailwind
colors: {
  custom: {
    50: '#af7ede',
    500: '#8747cf',
    950: '#000000',
  },
}
SCSS
$custom: #8747cf;
$custom-light: #af7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8747cf",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 268.235,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.20101,
    "h": 301.6
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#8747CF
secondary
#BBD69C
accent
#E24698
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8747CF

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

Preview Lab → · Contrast checker → · Palette generator →

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