#8D70A4#8D70A4

#8D70A4 is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.3% C 0.084 H 309.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D70A4
RGBrgb(141, 112, 164)
HSLhsl(273, 22%, 54%)
HSVhsv(273, 32%, 64%)
CMYKcmyk(14%, 31.7%, 0%, 35.7%)
CIE-LABlab(51.76, 21.65, -23.64)
CIE-LCHlch(51.76, 32.06, 312.49°)
OKLaboklab(59.27% 0.0534 -0.0649)
OKLCHoklch(59.27% 0.084 309.4)
XYZxyz(23.4783, 19.9316, 37.7251)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D70A4 #87A470
analogous
#7370A4 #8D70A4 #A470A1
triadic
#8D70A4 #A48D70 #70A48D
tetradic
#8D70A4 #A47370 #87A470 #70A1A4
square
#8D70A4 #A47370 #87A470 #70A1A4
split-complementary
#8D70A4 #A1A470 #70A473
monochromatic
#4F3C5E #6E5483 #8D70A4 #AB95BC #C9BBD4

Accessibility & contrast

On white

4.21
#8D70A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D70A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D70A4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D70A4#FFFFFF#000000##000000
##8D70A41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677AA6
Deuteranopia (green-blind)
#6D7CA2
Tritanopia (blue-blind)
#8A7783
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d70a4;
/* rgb */ color: rgb(141, 112, 164);
/* oklch */ color: oklch(59.3% 0.084 309.4);
Tailwind
colors: {
  custom: {
    50: '#af99bf',
    500: '#8d70a4',
    950: '#000000',
  },
}
SCSS
$custom: #8d70a4;
$custom-light: #af99bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d70a4",
  "rgb": {
    "r": 141,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 273.462,
    "s": 22.222,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.08402,
    "h": 309.4
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#8D70A4
secondary
#B7C3AD
accent
#BF698F
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8D70A4

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

Preview Lab → · Contrast checker → · Palette generator →

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