#8A46AE#8A46AE

#8A46AE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.167 H 312.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A46AE
RGBrgb(138, 70, 174)
HSLhsl(279, 43%, 48%)
HSVhsv(279, 60%, 68%)
CMYKcmyk(20.7%, 59.8%, 0%, 31.8%)
CIE-LABlab(42.52, 46.68, -44.05)
CIE-LCHlch(42.52, 64.18, 316.66°)
OKLaboklab(52.44% 0.1122 -0.1237)
OKLCHoklch(52.44% 0.167 312.2)
XYZxyz(20.3100, 12.8401, 41.4447)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46AE #6AAE46
analogous
#5646AE #8A46AE #AE469E
triadic
#8A46AE #AE8A46 #46AE8A
tetradic
#8A46AE #AE5646 #6AAE46 #469EAE
square
#8A46AE #AE5646 #6AAE46 #469EAE
split-complementary
#8A46AE #9EAE46 #46AE56
monochromatic
#452357 #673482 #8A46AE #A66DC4 #C199D6

Accessibility & contrast

On white

5.89
#8A46AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A46AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46AE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46AE#FFFFFF#000000##FFFFFF
##8A46AE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#3F66AB
Tritanopia (blue-blind)
#865973
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a46ae;
/* rgb */ color: rgb(138, 70, 174);
/* oklch */ color: oklch(52.4% 0.167 312.2);
Tailwind
colors: {
  custom: {
    50: '#af7dc7',
    500: '#8a46ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a46ae;
$custom-light: #af7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46ae",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 279.231,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.16696,
    "h": 312.2
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#8A46AE
secondary
#A0C28E
accent
#D25581
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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