#8D74A3#8D74A3

#8D74A3 is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.0% C 0.075 H 308.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8D74A3
RGBrgb(141, 116, 163)
HSLhsl(272, 20%, 55%)
HSVhsv(272, 29%, 64%)
CMYKcmyk(13.5%, 28.8%, 0%, 36.1%)
CIE-LABlab(52.73, 19.08, -21.57)
CIE-LCHlch(52.73, 28.80, 311.50°)
OKLaboklab(59.99% 0.0469 -0.059)
OKLCHoklch(59.99% 0.075 308.5)
XYZxyz(23.8396, 20.7980, 37.4018)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74A3 #8AA374
analogous
#7674A3 #8D74A3 #A374A1
triadic
#8D74A3 #A38D74 #74A38D
tetradic
#8D74A3 #A37674 #8AA374 #74A1A3
square
#8D74A3 #A37674 #8AA374 #74A1A3
split-complementary
#8D74A3 #A1A374 #74A376
monochromatic
#4F3E5E #6E5783 #8D74A3 #AB99BB #C9BED4

Accessibility & contrast

On white

4.07
#8D74A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8D74A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74A3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74A3#FFFFFF#000000##000000
##8D74A31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA5
Deuteranopia (green-blind)
#717EA2
Tritanopia (blue-blind)
#8A7A85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d74a3;
/* rgb */ color: rgb(141, 116, 163);
/* oklch */ color: oklch(60.0% 0.075 308.5);
Tailwind
colors: {
  custom: {
    50: '#af9cbe',
    500: '#8d74a3',
    950: '#000000',
  },
}
SCSS
$custom: #8d74a3;
$custom-light: #af9cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74a3",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 163
  },
  "hsl": {
    "h": 271.915,
    "s": 20.346,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59994,
    "c": 0.07541,
    "h": 308.5
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#8D74A3
secondary
#B9C3AF
accent
#BD6B91
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8D74A3

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

Preview Lab → · Contrast checker → · Palette generator →

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