#8D7FC2#8D7FC2

#8D7FC2 is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.6% C 0.100 H 292.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D7FC2
RGBrgb(141, 127, 194)
HSLhsl(253, 35%, 63%)
HSVhsv(253, 35%, 76%)
CMYKcmyk(27.3%, 34.5%, 0%, 23.9%)
CIE-LABlab(56.82, 20.04, -33.07)
CIE-LCHlch(56.82, 38.67, 301.22°)
OKLaboklab(63.55% 0.0389 -0.0919)
OKLCHoklch(63.55% 0.1 292.9)
XYZxyz(28.3091, 24.7361, 54.3115)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FC2 #B4C27F
analogous
#7F92C2 #8D7FC2 #AE7FC2
triadic
#8D7FC2 #C28D7F #7FC28D
tetradic
#8D7FC2 #C27F92 #B4C27F #7FC2AE
square
#8D7FC2 #C27F92 #B4C27F #7FC2AE
split-complementary
#8D7FC2 #C2AE7F #92C27F
monochromatic
#4F4087 #6856AE #8D7FC2 #B2A8D6 #D7D2EA

Accessibility & contrast

On white

3.53
#8D7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8D7FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FC2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FC2#FFFFFF#000000##000000
##8D7FC21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#6F87C0
Tritanopia (blue-blind)
#828B98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d7fc2;
/* rgb */ color: rgb(141, 127, 194);
/* oklch */ color: oklch(63.6% 0.100 292.9);
Tailwind
colors: {
  custom: {
    50: '#b0a4d4',
    500: '#8d7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fc2;
$custom-light: #b0a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fc2",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 252.537,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63554,
    "c": 0.0998,
    "h": 292.9
  },
  "luminance": 0.24737
}

Semantic roles & 50–950 ramp

primary
#8D7FC2
secondary
#D5DAC2
accent
#AE3795
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #8D7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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