#8747D3#8747D3

#8747D3 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.205 H 300.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8747D3
RGBrgb(135, 71, 211)
HSLhsl(267, 61%, 55%)
HSVhsv(267, 66%, 83%)
CMYKcmyk(36%, 66.4%, 0%, 17.3%)
CIE-LABlab(44.75, 54.20, -62.03)
CIE-LCHlch(44.75, 82.37, 311.14°)
OKLaboklab(54.74% 0.105 -0.1766)
OKLCHoklch(54.74% 0.205 300.7)
XYZxyz(23.9999, 14.3604, 63.1228)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747D3 #93D347
analogous
#474DD3 #8747D3 #CD47D3
triadic
#8747D3 #D38747 #47D387
tetradic
#8747D3 #D3474D #93D347 #47D3CD
square
#8747D3 #D3474D #93D347 #47D3CD
split-complementary
#8747D3 #D3CD47 #4DD347
monochromatic
#4C1F81 #692BB2 #8747D3 #A778DF #C7AAEB

Accessibility & contrast

On white

5.42
#8747D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8747D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747D3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747D3#FFFFFF#000000##FFFFFF
##8747D31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#776787
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8747d3;
/* rgb */ color: rgb(135, 71, 211);
/* oklch */ color: oklch(54.7% 0.205 300.7);
Tailwind
colors: {
  custom: {
    50: '#af7ee1',
    500: '#8747d3',
    950: '#000000',
  },
}
SCSS
$custom: #8747d3;
$custom-light: #af7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8747d3",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 267.429,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.20542,
    "h": 300.7
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#8747D3
secondary
#BDD89E
accent
#E5439B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8747D3

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

Preview Lab → · Contrast checker → · Palette generator →

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