#8A70AA#8A70AA

#8A70AA is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.2% C 0.091 H 304.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A70AA
RGBrgb(138, 112, 170)
HSLhsl(267, 25%, 55%)
HSVhsv(267, 34%, 67%)
CMYKcmyk(18.8%, 34.1%, 0%, 33.3%)
CIE-LABlab(51.72, 22.07, -27.23)
CIE-LCHlch(51.72, 35.05, 309.03°)
OKLaboklab(59.25% 0.0513 -0.0751)
OKLCHoklch(59.25% 0.091 304.3)
XYZxyz(23.5296, 19.8940, 40.6227)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70AA #90AA70
analogous
#7073AA #8A70AA #A770AA
triadic
#8A70AA #AA8A70 #70AA8A
tetradic
#8A70AA #AA7073 #90AA70 #70AAA7
square
#8A70AA #AA7073 #90AA70 #70AAA7
split-complementary
#8A70AA #AAA770 #73AA70
monochromatic
#4E3B64 #6B528A #8A70AA #A996C1 #C9BDD8

Accessibility & contrast

On white

4.22
#8A70AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A70AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70AA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70AA#FFFFFF#000000##000000
##8A70AA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647BAC
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#857985
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a70aa;
/* rgb */ color: rgb(138, 112, 170);
/* oklch */ color: oklch(59.2% 0.091 304.3);
Tailwind
colors: {
  custom: {
    50: '#ad99c3',
    500: '#8a70aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a70aa;
$custom-light: #ad99c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70aa",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 266.897,
    "s": 25.439,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.09101,
    "h": 304.3
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#8A70AA
secondary
#BCC7AF
accent
#C26699
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A70AA

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

Preview Lab → · Contrast checker → · Palette generator →

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