#8A3DBE#8A3DBE

#8A3DBE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.197 H 308.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A3DBE
RGBrgb(138, 61, 190)
HSLhsl(276, 51%, 49%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(27.4%, 67.9%, 0%, 25.5%)
CIE-LABlab(41.94, 54.65, -54.39)
CIE-LCHlch(41.94, 77.11, 315.14°)
OKLaboklab(52.35% 0.1222 -0.154)
OKLCHoklch(52.35% 0.197 308.4)
XYZxyz(21.4423, 12.4588, 49.9804)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DBE #71BE3D
analogous
#4A3DBE #8A3DBE #BE3DB2
triadic
#8A3DBE #BE8A3D #3DBE8A
tetradic
#8A3DBE #BE4A3D #71BE3D #3DB2BE
square
#8A3DBE #BE4A3D #71BE3D #3DB2BE
split-complementary
#8A3DBE #B2BE3D #3DBE4A
monochromatic
#471F61 #682E90 #8A3DBE #A669CF #C298DE

Accessibility & contrast

On white

6.01
#8A3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DBE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DBE#FFFFFF#000000##FFFFFF
##8A3DBE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#825979
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3dbe;
/* rgb */ color: rgb(138, 61, 190);
/* oklch */ color: oklch(52.3% 0.197 308.4);
Tailwind
colors: {
  custom: {
    50: '#b078d2',
    500: '#8a3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dbe;
$custom-light: #b078d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dbe",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 275.814,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.19656,
    "h": 308.4
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

primary
#8A3DBE
secondary
#A6C98D
accent
#DB4D86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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