#8A3E99#8A3E99

#8A3E99 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.1% C 0.157 H 320.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A3E99
RGBrgb(138, 62, 153)
HSLhsl(290, 42%, 42%)
HSVhsv(290, 59%, 60%)
CMYKcmyk(9.8%, 59.5%, 0%, 40%)
CIE-LABlab(39.83, 46.23, -35.79)
CIE-LCHlch(39.83, 58.46, 322.26°)
OKLaboklab(50.09% 0.1219 -0.0995)
OKLCHoklch(50.09% 0.157 320.8)
XYZxyz(17.9530, 11.1493, 31.3372)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E99 #4D993E
analogous
#5D3E99 #8A3E99 #993E7B
triadic
#8A3E99 #998A3E #3E998A
tetradic
#8A3E99 #995D3E #4D993E #3E7B99
square
#8A3E99 #995D3E #4D993E #3E7B99
split-complementary
#8A3E99 #7B993E #3E995D
monochromatic
#3B1B42 #632C6D #8A3E99 #AB59BC #C184CD

Accessibility & contrast

On white

6.50
#8A3E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A3E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E99
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E99#FFFFFF#000000##FFFFFF
##8A3E991.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#8B4C65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a3e99;
/* rgb */ color: rgb(138, 62, 153);
/* oklch */ color: oklch(50.1% 0.157 320.8);
Tailwind
colors: {
  custom: {
    50: '#af78b7',
    500: '#8a3e99',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e99;
$custom-light: #af78b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e99",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 290.11,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.15737,
    "h": 320.8
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#8A3E99
secondary
#85B87B
accent
#D2566A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3E99

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

Preview Lab → · Contrast checker → · Palette generator →

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