#8A3BDC#8A3BDC

#8A3BDC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.4% C 0.230 H 301.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A3BDC
RGBrgb(138, 59, 220)
HSLhsl(269, 70%, 55%)
HSVhsv(269, 73%, 86%)
CMYKcmyk(37.3%, 73.2%, 0%, 13.7%)
CIE-LABlab(43.80, 62.44, -68.71)
CIE-LCHlch(43.80, 92.84, 312.26°)
OKLaboklab(54.35% 0.1194 -0.196)
OKLCHoklch(54.35% 0.23 301.3)
XYZxyz(24.9603, 13.6984, 69.0253)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BDC #8DDC3B
analogous
#3B3DDC #8A3BDC #DB3BDC
triadic
#8A3BDC #DC8A3B #3BDC8A
tetradic
#8A3BDC #DC3B3D #8DDC3B #3BDCDB
square
#8A3BDC #DC3B3D #8DDC3B #3BDCDB
split-complementary
#8A3BDC #DCDB3B #3DDC3B
monochromatic
#4D1885 #6B21B9 #8A3BDC #A96FE5 #C8A3EF

Accessibility & contrast

On white

5.62
#8A3BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A3BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BDC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BDC#FFFFFF#000000##FFFFFF
##8A3BDC1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#786489
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a3bdc;
/* rgb */ color: rgb(138, 59, 220);
/* oklch */ color: oklch(54.4% 0.230 301.3);
Tailwind
colors: {
  custom: {
    50: '#b378e8',
    500: '#8a3bdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bdc;
$custom-light: #b378e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bdc",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 220
  },
  "hsl": {
    "h": 269.441,
    "s": 69.697,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.22953,
    "h": 301.3
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#8A3BDC
secondary
#BADB97
accent
#ED3B96
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8A3BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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