#8D7FC4#8D7FC4

#8D7FC4 is a light, moderate violet. Relative luminance 0.248; OKLCH L 63.7% C 0.103 H 292.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D7FC4
RGBrgb(141, 127, 196)
HSLhsl(252, 37%, 63%)
HSVhsv(252, 35%, 77%)
CMYKcmyk(28.1%, 35.2%, 0%, 23.1%)
CIE-LABlab(56.91, 20.55, -34.06)
CIE-LCHlch(56.91, 39.78, 301.10°)
OKLaboklab(63.65% 0.0394 -0.0948)
OKLCHoklch(63.65% 0.103 292.5)
XYZxyz(28.5352, 24.8265, 55.5025)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FC4 #B6C47F
analogous
#7F93C4 #8D7FC4 #AF7FC4
triadic
#8D7FC4 #C48D7F #7FC48D
tetradic
#8D7FC4 #C47F93 #B6C47F #7FC4AF
square
#8D7FC4 #C47F93 #B6C47F #7FC4AF
split-complementary
#8D7FC4 #C4AF7F #93C47F
monochromatic
#4E3F89 #6855B1 #8D7FC4 #B2A9D7 #D8D3EB

Accessibility & contrast

On white

3.52
#8D7FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8D7FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FC4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FC4#FFFFFF#000000##000000
##8D7FC41.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C7
Deuteranopia (green-blind)
#6E87C2
Tritanopia (blue-blind)
#818B98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d7fc4;
/* rgb */ color: rgb(141, 127, 196);
/* oklch */ color: oklch(63.7% 0.103 292.5);
Tailwind
colors: {
  custom: {
    50: '#b0a4d6',
    500: '#8d7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fc4;
$custom-light: #b0a4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fc4",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 252.174,
    "s": 36.898,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.10264,
    "h": 292.5
  },
  "luminance": 0.24827
}

Semantic roles & 50–950 ramp

primary
#8D7FC4
secondary
#D7DCC3
accent
#B03697
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #8D7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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