#8747D2#8747D2

#8747D2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.204 H 301.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8747D2
RGBrgb(135, 71, 210)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 66%, 82%)
CMYKcmyk(35.7%, 66.2%, 0%, 17.6%)
CIE-LABlab(44.67, 53.95, -61.57)
CIE-LCHlch(44.67, 81.86, 311.23°)
OKLaboklab(54.67% 0.1051 -0.1752)
OKLCHoklch(54.67% 0.204 301)
XYZxyz(23.8750, 14.3104, 62.4646)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747D2 #92D247
analogous
#474CD2 #8747D2 #CD47D2
triadic
#8747D2 #D28747 #47D287
tetradic
#8747D2 #D2474C #92D247 #47D2CD
square
#8747D2 #D2474C #92D247 #47D2CD
split-complementary
#8747D2 #D2CD47 #4CD247
monochromatic
#4B1F7F #692BB1 #8747D2 #A778DE #C7A9EA

Accessibility & contrast

On white

5.44
#8747D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8747D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747D2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747D2#FFFFFF#000000##FFFFFF
##8747D21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8747d2;
/* rgb */ color: rgb(135, 71, 210);
/* oklch */ color: oklch(54.7% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#af7ee1',
    500: '#8747d2',
    950: '#000000',
  },
}
SCSS
$custom: #8747d2;
$custom-light: #af7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8747d2",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 267.626,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54666,
    "c": 0.20431,
    "h": 301
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#8747D2
secondary
#BDD89D
accent
#E4449A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8747D2

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

Preview Lab → · Contrast checker → · Palette generator →

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