#8747D4#8747D4

#8747D4 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.207 H 300.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8747D4
RGBrgb(135, 71, 212)
HSLhsl(267, 62%, 55%)
HSVhsv(267, 67%, 83%)
CMYKcmyk(36.3%, 66.5%, 0%, 16.9%)
CIE-LABlab(44.82, 54.44, -62.49)
CIE-LCHlch(44.82, 82.88, 311.06°)
OKLaboklab(54.81% 0.1049 -0.1779)
OKLCHoklch(54.81% 0.207 300.5)
XYZxyz(24.1257, 14.4107, 63.7851)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747D4 #94D447
analogous
#474DD4 #8747D4 #CE47D4
triadic
#8747D4 #D48747 #47D487
tetradic
#8747D4 #D4474D #94D447 #47D4CE
square
#8747D4 #D4474D #94D447 #47D4CE
split-complementary
#8747D4 #D4CE47 #4DD447
monochromatic
#4C1E82 #692AB4 #8747D4 #A779E0 #C8AAEB

Accessibility & contrast

On white

5.41
#8747D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8747D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747D4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747D4#FFFFFF#000000##FFFFFF
##8747D41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0069D1
Tritanopia (blue-blind)
#766788
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8747d4;
/* rgb */ color: rgb(135, 71, 212);
/* oklch */ color: oklch(54.8% 0.207 300.5);
Tailwind
colors: {
  custom: {
    50: '#af7ee2',
    500: '#8747d4',
    950: '#000000',
  },
}
SCSS
$custom: #8747d4;
$custom-light: #af7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8747d4",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 267.234,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.20652,
    "h": 300.5
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#8747D4
secondary
#BED99E
accent
#E5439B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8747D4

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

Preview Lab → · Contrast checker → · Palette generator →

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