#8747DE#8747DE

#8747DE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.217 H 298.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8747DE
RGBrgb(135, 71, 222)
HSLhsl(265, 70%, 57%)
HSVhsv(265, 68%, 87%)
CMYKcmyk(39.2%, 68%, 0%, 12.9%)
CIE-LABlab(45.54, 56.91, -67.03)
CIE-LCHlch(45.54, 87.93, 310.33°)
OKLaboklab(55.56% 0.1035 -0.1913)
OKLCHoklch(55.56% 0.217 298.4)
XYZxyz(25.4264, 14.9309, 70.6354)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747DE #9EDE47
analogous
#4753DE #8747DE #D247DE
triadic
#8747DE #DE8747 #47DE87
tetradic
#8747DE #DE4753 #9EDE47 #47DED2
square
#8747DE #DE4753 #9EDE47 #47DED2
split-complementary
#8747DE #DED247 #53DE47
monochromatic
#4C1A91 #6823C5 #8747DE #A97BE7 #CBAFF1

Accessibility & contrast

On white

5.27
#8747DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8747DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747DE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747DE#FFFFFF#000000##FFFFFF
##8747DE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#726B8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8747de;
/* rgb */ color: rgb(135, 71, 222);
/* oklch */ color: oklch(55.6% 0.217 298.4);
Tailwind
colors: {
  custom: {
    50: '#b07fe9',
    500: '#8747de',
    950: '#000000',
  },
}
SCSS
$custom: #8747de;
$custom-light: #b07fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8747de",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 265.43,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.21748,
    "h": 298.4
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#8747DE
secondary
#C5DFA2
accent
#EC3BA1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8747DE

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

Preview Lab → · Contrast checker → · Palette generator →

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