#8A70A7#8A70A7

#8A70A7 is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.1% C 0.087 H 305.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A70A7
RGBrgb(138, 112, 167)
HSLhsl(268, 24%, 55%)
HSVhsv(268, 33%, 65%)
CMYKcmyk(17.4%, 32.9%, 0%, 34.5%)
CIE-LABlab(51.59, 21.36, -25.68)
CIE-LCHlch(51.59, 33.40, 309.76°)
OKLaboklab(59.11% 0.0506 -0.0707)
OKLCHoklch(59.11% 0.087 305.6)
XYZxyz(23.2491, 19.7817, 39.1452)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70A7 #8DA770
analogous
#7071A7 #8A70A7 #A670A7
triadic
#8A70A7 #A78A70 #70A78A
tetradic
#8A70A7 #A77071 #8DA770 #70A7A6
square
#8A70A7 #A77071 #8DA770 #70A7A6
split-complementary
#8A70A7 #A7A670 #71A770
monochromatic
#4D3C61 #6B5387 #8A70A7 #A996BE #C8BCD6

Accessibility & contrast

On white

4.24
#8A70A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8A70A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70A7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70A7#FFFFFF#000000##000000
##8A70A71.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#867884
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a70a7;
/* rgb */ color: rgb(138, 112, 167);
/* oklch */ color: oklch(59.1% 0.087 305.6);
Tailwind
colors: {
  custom: {
    50: '#ad99c1',
    500: '#8a70a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a70a7;
$custom-light: #ad99c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70a7",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 167
  },
  "hsl": {
    "h": 268.364,
    "s": 23.81,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.08694,
    "h": 305.6
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#8A70A7
secondary
#BAC5AE
accent
#C06896
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A70A7

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

Preview Lab → · Contrast checker → · Palette generator →

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