#8A74AF#8A74AF

#8A74AF is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.3% C 0.091 H 300.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A74AF
RGBrgb(138, 116, 175)
HSLhsl(262, 27%, 57%)
HSVhsv(262, 34%, 69%)
CMYKcmyk(21.1%, 33.7%, 0%, 31.4%)
CIE-LABlab(52.94, 20.90, -28.23)
CIE-LCHlch(52.94, 35.13, 306.52°)
OKLaboklab(60.25% 0.0466 -0.078)
OKLCHoklch(60.25% 0.091 300.8)
XYZxyz(24.4628, 20.9891, 43.3117)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74AF #99AF74
analogous
#747CAF #8A74AF #A874AF
triadic
#8A74AF #AF8A74 #74AF8A
tetradic
#8A74AF #AF747C #99AF74 #74AFA8
square
#8A74AF #AF747C #99AF74 #74AFA8
split-complementary
#8A74AF #AFA874 #7CAF74
monochromatic
#4F3E6B #6B5492 #8A74AF #AB9BC5 #CBC2DC

Accessibility & contrast

On white

4.04
#8A74AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A74AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74AF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74AF#FFFFFF#000000##000000
##8A74AF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB1
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#847D8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a74af;
/* rgb */ color: rgb(138, 116, 175);
/* oklch */ color: oklch(60.3% 0.091 300.8);
Tailwind
colors: {
  custom: {
    50: '#ad9cc7',
    500: '#8a74af',
    950: '#000000',
  },
}
SCSS
$custom: #8a74af;
$custom-light: #ad9cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74af",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 262.373,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6025,
    "c": 0.0909,
    "h": 300.8
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#8A74AF
secondary
#C2CBB3
accent
#C365A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A74AF

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

Preview Lab → · Contrast checker → · Palette generator →

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