#8174AD#8174AD

#8174AD is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.3% C 0.087 H 294.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8174AD
RGBrgb(129, 116, 173)
HSLhsl(254, 26%, 57%)
HSVhsv(254, 33%, 68%)
CMYKcmyk(25.4%, 32.9%, 0%, 32.2%)
CIE-LABlab(52.03, 17.60, -28.54)
CIE-LCHlch(52.03, 33.53, 301.66°)
OKLaboklab(59.33% 0.0353 -0.0791)
OKLCHoklch(59.33% 0.087 294.1)
XYZxyz(22.8397, 20.1748, 42.2179)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8174AD #A0AD74
analogous
#7484AD #8174AD #9E74AD
triadic
#8174AD #AD8174 #74AD81
tetradic
#8174AD #AD7484 #A0AD74 #74AD9E
square
#8174AD #AD7484 #A0AD74 #74AD9E
split-complementary
#8174AD #AD9E74 #84AD74
monochromatic
#483E69 #62558F #8174AD #A49AC4 #C7C1DA

Accessibility & contrast

On white

4.17
#8174AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8174AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8174AD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8174AD#FFFFFF#000000##000000
##8174AD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#667DAF
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#787E89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8174ad;
/* rgb */ color: rgb(129, 116, 173);
/* oklch */ color: oklch(59.3% 0.087 294.1);
Tailwind
colors: {
  custom: {
    50: '#a69cc5',
    500: '#8174ad',
    950: '#000000',
  },
}
SCSS
$custom: #8174ad;
$custom-light: #a69cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8174ad",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 173
  },
  "hsl": {
    "h": 253.684,
    "s": 25.792,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.08663,
    "h": 294.1
  },
  "luminance": 0.20175
}

Semantic roles & 50–950 ramp

primary
#8174AD
secondary
#C5CAB3
accent
#C266AD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #8174AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8174AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva