#8A3EB0#8A3EB0

#8A3EB0 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.181 H 312.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A3EB0
RGBrgb(138, 62, 176)
HSLhsl(280, 48%, 47%)
HSVhsv(280, 65%, 69%)
CMYKcmyk(21.6%, 64.8%, 0%, 31%)
CIE-LABlab(41.19, 51.08, -47.36)
CIE-LCHlch(41.19, 69.65, 317.17°)
OKLaboklab(51.52% 0.1221 -0.1333)
OKLCHoklch(51.52% 0.181 312.5)
XYZxyz(20.0389, 11.9836, 42.3233)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3EB0 #64B03E
analogous
#513EB0 #8A3EB0 #B03E9D
triadic
#8A3EB0 #B08A3E #3EB08A
tetradic
#8A3EB0 #B0513E #64B03E #3E9DB0
square
#8A3EB0 #B0513E #64B03E #3E9DB0
split-complementary
#8A3EB0 #9DB03E #3EB051
monochromatic
#431E55 #672E83 #8A3EB0 #A663C8 #C090D8

Accessibility & contrast

On white

6.18
#8A3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A3EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3EB0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3EB0#FFFFFF#000000##FFFFFF
##8A3EB01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025DB3
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#865471
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3eb0;
/* rgb */ color: rgb(138, 62, 176);
/* oklch */ color: oklch(51.5% 0.181 312.5);
Tailwind
colors: {
  custom: {
    50: '#af78c8',
    500: '#8a3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3eb0;
$custom-light: #af78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3eb0",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 280,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.18077,
    "h": 312.5
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#8A3EB0
secondary
#9BC387
accent
#D7507D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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