#8A3EAF#8A3EAF

#8A3EAF is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.180 H 312.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8A3EAF
RGBrgb(138, 62, 175)
HSLhsl(280, 48%, 46%)
HSVhsv(280, 65%, 69%)
CMYKcmyk(21.1%, 64.6%, 0%, 31.4%)
CIE-LABlab(41.13, 50.86, -46.87)
CIE-LCHlch(41.13, 69.16, 317.34°)
OKLaboklab(51.45% 0.1221 -0.1319)
OKLCHoklch(51.45% 0.18 312.8)
XYZxyz(19.9404, 11.9442, 41.8042)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3EAF #63AF3E
analogous
#523EAF #8A3EAF #AF3E9C
triadic
#8A3EAF #AF8A3E #3EAF8A
tetradic
#8A3EAF #AF523E #63AF3E #3E9CAF
square
#8A3EAF #AF523E #63AF3E #3E9CAF
split-complementary
#8A3EAF #9CAF3E #3EAF52
monochromatic
#431E55 #662E82 #8A3EAF #A763C8 #C090D8

Accessibility & contrast

On white

6.20
#8A3EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A3EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3EAF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3EAF#FFFFFF#000000##FFFFFF
##8A3EAF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055DB2
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#865471
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3eaf;
/* rgb */ color: rgb(138, 62, 175);
/* oklch */ color: oklch(51.5% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#af78c7',
    500: '#8a3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3eaf;
$custom-light: #af78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3eaf",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 280.354,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.17974,
    "h": 312.8
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#8A3EAF
secondary
#9AC386
accent
#D7517D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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