#8D76B2#8D76B2

#8D76B2 is a mid, moderate violet. Relative luminance 0.218; OKLCH L 61.1% C 0.092 H 301.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D76B2
RGBrgb(141, 118, 178)
HSLhsl(263, 28%, 58%)
HSVhsv(263, 34%, 70%)
CMYKcmyk(20.8%, 33.7%, 0%, 30.2%)
CIE-LABlab(53.85, 21.39, -28.52)
CIE-LCHlch(53.85, 35.65, 306.87°)
OKLaboklab(61.06% 0.048 -0.0788)
OKLCHoklch(61.06% 0.092 301.3)
XYZxyz(25.4971, 21.8339, 44.9820)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D76B2 #9BB276
analogous
#767DB2 #8D76B2 #AB76B2
triadic
#8D76B2 #B28D76 #76B28D
tetradic
#8D76B2 #B2767D #9BB276 #76B2AB
square
#8D76B2 #B2767D #9BB276 #76B2AB
split-complementary
#8D76B2 #B2AB76 #7DB276
monochromatic
#513E6F #6E5496 #8D76B2 #AE9DC8 #CEC4DE

Accessibility & contrast

On white

3.91
#8D76B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8D76B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D76B2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D76B2#FFFFFF#000000##000000
##8D76B21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B4
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#877F8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d76b2;
/* rgb */ color: rgb(141, 118, 178);
/* oklch */ color: oklch(61.1% 0.092 301.3);
Tailwind
colors: {
  custom: {
    50: '#af9dc9',
    500: '#8d76b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d76b2;
$custom-light: #af9dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d76b2",
  "rgb": {
    "r": 141,
    "g": 118,
    "b": 178
  },
  "hsl": {
    "h": 263,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.0923,
    "h": 301.3
  },
  "luminance": 0.21834
}

Semantic roles & 50–950 ramp

primary
#8D76B2
secondary
#C5CEB6
accent
#C4639F
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8D76B2

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

Preview Lab → · Contrast checker → · Palette generator →

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