#8747DD#8747DD

#8747DD is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.216 H 298.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8747DD
RGBrgb(135, 71, 221)
HSLhsl(266, 69%, 57%)
HSVhsv(266, 68%, 87%)
CMYKcmyk(38.9%, 67.9%, 0%, 13.3%)
CIE-LABlab(45.47, 56.67, -66.58)
CIE-LCHlch(45.47, 87.43, 310.40°)
OKLaboklab(55.48% 0.1037 -0.1899)
OKLCHoklch(55.48% 0.216 298.6)
XYZxyz(25.2928, 14.8775, 69.9317)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747DD #9DDD47
analogous
#4752DD #8747DD #D247DD
triadic
#8747DD #DD8747 #47DD87
tetradic
#8747DD #DD4752 #9DDD47 #47DDD2
square
#8747DD #DD4752 #9DDD47 #47DDD2
split-complementary
#8747DD #DDD247 #52DD47
monochromatic
#4C1A8F #6824C3 #8747DD #A97BE7 #CAAEF0

Accessibility & contrast

On white

5.28
#8747DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8747DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747DD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747DD#FFFFFF#000000##FFFFFF
##8747DD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#736B8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8747dd;
/* rgb */ color: rgb(135, 71, 221);
/* oklch */ color: oklch(55.5% 0.216 298.6);
Tailwind
colors: {
  custom: {
    50: '#b07fe9',
    500: '#8747dd',
    950: '#000000',
  },
}
SCSS
$custom: #8747dd;
$custom-light: #b07fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8747dd",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 265.6,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.21639,
    "h": 298.6
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#8747DD
secondary
#C4DEA2
accent
#EC3CA1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8747DD

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

Preview Lab → · Contrast checker → · Palette generator →

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