#8A3BDE#8A3BDE

#8A3BDE is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.232 H 300.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A3BDE
RGBrgb(138, 59, 222)
HSLhsl(269, 71%, 55%)
HSVhsv(269, 73%, 87%)
CMYKcmyk(37.8%, 73.4%, 0%, 12.9%)
CIE-LABlab(43.95, 62.91, -69.60)
CIE-LCHlch(43.95, 93.82, 312.11°)
OKLaboklab(54.51% 0.119 -0.1987)
OKLCHoklch(54.51% 0.232 300.9)
XYZxyz(25.2268, 13.8049, 70.4286)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BDE #8FDE3B
analogous
#3B3DDE #8A3BDE #DC3BDE
triadic
#8A3BDE #DE8A3B #3BDE8A
tetradic
#8A3BDE #DE3B3D #8FDE3B #3BDEDC
square
#8A3BDE #DE3B3D #8FDE3B #3BDEDC
split-complementary
#8A3BDE #DEDC3B #3DDE3B
monochromatic
#4E1788 #6C20BC #8A3BDE #A96FE7 #C9A4F0

Accessibility & contrast

On white

5.58
#8A3BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A3BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BDE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BDE#FFFFFF#000000##FFFFFF
##8A3BDE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#77648A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a3bde;
/* rgb */ color: rgb(138, 59, 222);
/* oklch */ color: oklch(54.5% 0.232 300.9);
Tailwind
colors: {
  custom: {
    50: '#b378e9',
    500: '#8a3bde',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bde;
$custom-light: #b378e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bde",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 222
  },
  "hsl": {
    "h": 269.08,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54509,
    "c": 0.23155,
    "h": 300.9
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#8A3BDE
secondary
#BBDD98
accent
#EE3A97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8A3BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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