#8D7EC4#8D7EC4

#8D7EC4 is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.5% C 0.104 H 293.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8D7EC4
RGBrgb(141, 126, 196)
HSLhsl(253, 37%, 63%)
HSVhsv(253, 36%, 77%)
CMYKcmyk(28.1%, 35.7%, 0%, 23.1%)
CIE-LABlab(56.65, 21.13, -34.46)
CIE-LCHlch(56.65, 40.42, 301.52°)
OKLaboklab(63.46% 0.0408 -0.0959)
OKLCHoklch(63.46% 0.104 293)
XYZxyz(28.4067, 24.5695, 55.4596)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7EC4 #B5C47E
analogous
#7E92C4 #8D7EC4 #B07EC4
triadic
#8D7EC4 #C48D7E #7EC48D
tetradic
#8D7EC4 #C47E92 #B5C47E #7EC4B0
square
#8D7EC4 #C47E92 #B5C47E #7EC4B0
split-complementary
#8D7EC4 #C4B07E #92C47E
monochromatic
#4F3F89 #6854B1 #8D7EC4 #B2A8D7 #D7D2EA

Accessibility & contrast

On white

3.55
#8D7EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8D7EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7EC4
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7EC4#FFFFFF#000000##000000
##8D7EC41.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C7
Deuteranopia (green-blind)
#6D87C2
Tritanopia (blue-blind)
#818A98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d7ec4;
/* rgb */ color: rgb(141, 126, 196);
/* oklch */ color: oklch(63.5% 0.104 293.0);
Tailwind
colors: {
  custom: {
    50: '#b0a3d6',
    500: '#8d7ec4',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ec4;
$custom-light: #b0a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ec4",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 252.857,
    "s": 37.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63458,
    "c": 0.10423,
    "h": 293
  },
  "luminance": 0.2457
}

Semantic roles & 50–950 ramp

primary
#8D7EC4
secondary
#D6DBC2
accent
#B03596
background
#FAFAFD
surface
#F5F3FA
border
#CFCDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #8D7EC4

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

Preview Lab → · Contrast checker → · Palette generator →

#8D7EC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva