#8A3DB0#8A3DB0

#8A3DB0 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.4% C 0.182 H 312.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A3DB0
RGBrgb(138, 61, 176)
HSLhsl(280, 49%, 46%)
HSVhsv(280, 65%, 69%)
CMYKcmyk(21.6%, 65.3%, 0%, 31%)
CIE-LABlab(41.02, 51.55, -47.63)
CIE-LCHlch(41.02, 70.19, 317.26°)
OKLaboklab(51.39% 0.1233 -0.1341)
OKLCHoklch(51.39% 0.182 312.6)
XYZxyz(19.9851, 11.8759, 42.3054)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DB0 #63B03D
analogous
#513DB0 #8A3DB0 #B03D9D
triadic
#8A3DB0 #B08A3D #3DB08A
tetradic
#8A3DB0 #B0513D #63B03D #3D9DB0
square
#8A3DB0 #B0513D #63B03D #3D9DB0
split-complementary
#8A3DB0 #9DB03D #3DB051
monochromatic
#431D55 #662D83 #8A3DB0 #A762C8 #C08FD8

Accessibility & contrast

On white

6.22
#8A3DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A3DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DB0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DB0#FFFFFF#000000##FFFFFF
##8A3DB01.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3db0;
/* rgb */ color: rgb(138, 61, 176);
/* oklch */ color: oklch(51.4% 0.182 312.6);
Tailwind
colors: {
  custom: {
    50: '#b078c8',
    500: '#8a3db0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3db0;
$custom-light: #b078c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3db0",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 280.174,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.18216,
    "h": 312.6
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#8A3DB0
secondary
#9AC386
accent
#D8507D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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