#8374AA#8374AA

#8374AA is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.4% C 0.083 H 296.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8374AA
RGBrgb(131, 116, 170)
HSLhsl(257, 24%, 56%)
HSVhsv(257, 32%, 67%)
CMYKcmyk(22.9%, 31.8%, 0%, 33.3%)
CIE-LABlab(52.08, 17.48, -26.71)
CIE-LCHlch(52.08, 31.92, 303.20°)
OKLaboklab(59.37% 0.0369 -0.0738)
OKLCHoklch(59.37% 0.083 296.6)
XYZxyz(22.8595, 20.2182, 40.7206)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8374AA #9BAA74
analogous
#7480AA #8374AA #9E74AA
triadic
#8374AA #AA8374 #74AA83
tetradic
#8374AA #AA7480 #9BAA74 #74AA9E
square
#8374AA #AA7480 #9BAA74 #74AA9E
split-complementary
#8374AA #AA9E74 #80AA74
monochromatic
#493E66 #64558B #8374AA #A59AC1 #C7C0D8

Accessibility & contrast

On white

4.16
#8374AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8374AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8374AA#FFFFFF#000000##000000
##8374AA1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#677CAC
Deuteranopia (green-blind)
#697CA9
Tritanopia (blue-blind)
#7B7D87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8374aa;
/* rgb */ color: rgb(131, 116, 170);
/* oklch */ color: oklch(59.4% 0.083 296.6);
Tailwind
colors: {
  custom: {
    50: '#a89cc3',
    500: '#8374aa',
    950: '#000000',
  },
}
SCSS
$custom: #8374aa;
$custom-light: #a89cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8374aa",
  "rgb": {
    "r": 131,
    "g": 116,
    "b": 170
  },
  "hsl": {
    "h": 256.667,
    "s": 24.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.08253,
    "h": 296.6
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#8374AA
secondary
#C2C8B2
accent
#C167A8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #8374AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8374AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva