#8A74AA#8A74AA

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

Color values

HEX#8A74AA
RGBrgb(138, 116, 170)
HSLhsl(264, 24%, 56%)
HSVhsv(264, 32%, 67%)
CMYKcmyk(18.8%, 31.8%, 0%, 33.3%)
CIE-LABlab(52.73, 19.71, -25.66)
CIE-LCHlch(52.73, 32.36, 307.53°)
OKLaboklab(60.02% 0.0453 -0.0707)
OKLCHoklch(60.02% 0.084 302.6)
XYZxyz(23.9808, 20.7963, 40.7731)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74AA #94AA74
analogous
#7479AA #8A74AA #A574AA
triadic
#8A74AA #AA8A74 #74AA8A
tetradic
#8A74AA #AA7479 #94AA74 #74AAA5
square
#8A74AA #AA7479 #94AA74 #74AAA5
split-complementary
#8A74AA #AAA574 #79AA74
monochromatic
#4E3E66 #6B558B #8A74AA #AA9AC1 #CAC0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A74AA#FFFFFF#000000##000000
##8A74AA1.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)
#697DAC
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#857C87
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a74aa;
/* rgb */ color: rgb(138, 116, 170);
/* oklch */ color: oklch(60.0% 0.084 302.6);
Tailwind
colors: {
  custom: {
    50: '#ad9cc3',
    500: '#8a74aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a74aa;
$custom-light: #ad9cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74aa",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 170
  },
  "hsl": {
    "h": 264.444,
    "s": 24.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.08397,
    "h": 302.6
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#8A74AA
secondary
#BFC8B2
accent
#C1679C
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A74AA

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

Preview Lab → · Contrast checker → · Palette generator →

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