#8D7FB2#8D7FB2

#8D7FB2 is a light, moderate violet. Relative luminance 0.241; OKLCH L 62.8% C 0.077 H 296.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8D7FB2
RGBrgb(141, 127, 178)
HSLhsl(256, 25%, 60%)
HSVhsv(256, 29%, 70%)
CMYKcmyk(20.8%, 28.7%, 0%, 30.2%)
CIE-LABlab(56.14, 16.12, -24.98)
CIE-LCHlch(56.14, 29.73, 302.84°)
OKLaboklab(62.82% 0.0346 -0.0688)
OKLCHoklch(62.82% 0.077 296.7)
XYZxyz(26.6080, 24.0556, 45.3522)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FB2 #A4B27F
analogous
#7F8AB2 #8D7FB2 #A77FB2
triadic
#8D7FB2 #B28D7F #7FB28D
tetradic
#8D7FB2 #B27F8A #A4B27F #7FB2A7
square
#8D7FB2 #B27F8A #A4B27F #7FB2A7
split-complementary
#8D7FB2 #B2A77F #8AB27F
monochromatic
#514572 #6C5C98 #8D7FB2 #AFA5C9 #D1CBE0

Accessibility & contrast

On white

3.61
#8D7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8D7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FB2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FB2#FFFFFF#000000##000000
##8D7FB21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#7586B1
Tritanopia (blue-blind)
#868791
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d7fb2;
/* rgb */ color: rgb(141, 127, 178);
/* oklch */ color: oklch(62.8% 0.077 296.7);
Tailwind
colors: {
  custom: {
    50: '#afa4c9',
    500: '#8d7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fb2;
$custom-light: #afa4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fb2",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 256.471,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62815,
    "c": 0.07698,
    "h": 296.7
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

primary
#8D7FB2
secondary
#CBD0BD
accent
#C167A8
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #8D7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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