#8A4DAF#8A4DAF

#8A4DAF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.157 H 310.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A4DAF
RGBrgb(138, 77, 175)
HSLhsl(277, 39%, 49%)
HSVhsv(277, 56%, 69%)
CMYKcmyk(21.1%, 56%, 0%, 31.4%)
CIE-LABlab(43.95, 43.23, -42.35)
CIE-LCHlch(43.95, 60.52, 315.59°)
OKLaboklab(53.51% 0.103 -0.1188)
OKLCHoklch(53.51% 0.157 310.9)
XYZxyz(20.8715, 13.8066, 42.1146)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DAF #72AF4D
analogous
#594DAF #8A4DAF #AF4DA3
triadic
#8A4DAF #AF8A4D #4DAF8A
tetradic
#8A4DAF #AF594D #72AF4D #4DA3AF
square
#8A4DAF #AF594D #72AF4D #4DA3AF
split-complementary
#8A4DAF #A3AF4D #4DAF59
monochromatic
#47285A #683A85 #8A4DAF #A676C3 #C2A1D6

Accessibility & contrast

On white

5.58
#8A4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DAF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DAF#FFFFFF#000000##FFFFFF
##8A4DAF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#865E76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4daf;
/* rgb */ color: rgb(138, 77, 175);
/* oklch */ color: oklch(53.5% 0.157 310.9);
Tailwind
colors: {
  custom: {
    50: '#af81c7',
    500: '#8a4daf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4daf;
$custom-light: #af81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4daf",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 277.347,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.15717,
    "h": 310.9
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#8A4DAF
secondary
#A6C395
accent
#CF5985
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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