#8A3EBC#8A3EBC

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

Color values

HEX#8A3EBC
RGBrgb(138, 62, 188)
HSLhsl(276, 50%, 49%)
HSVhsv(276, 67%, 74%)
CMYKcmyk(26.6%, 67%, 0%, 26.3%)
CIE-LABlab(41.97, 53.74, -53.17)
CIE-LCHlch(41.97, 75.60, 315.31°)
OKLaboklab(52.33% 0.1213 -0.1504)
OKLCHoklch(52.33% 0.193 308.9)
XYZxyz(21.2791, 12.4797, 48.8551)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3EBC #70BC3E
analogous
#4B3EBC #8A3EBC #BC3EAF
triadic
#8A3EBC #BC8A3E #3EBC8A
tetradic
#8A3EBC #BC4B3E #70BC3E #3EAFBC
square
#8A3EBC #BC4B3E #70BC3E #3EAFBC
split-complementary
#8A3EBC #AFBC3E #3EBC4B
monochromatic
#462060 #682F8E #8A3EBC #A66ACE #C198DD

Accessibility & contrast

On white

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

On black

3.50
#8A3EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A3EBC#FFFFFF#000000##FFFFFF
##8A3EBC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#835978
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3ebc;
/* rgb */ color: rgb(138, 62, 188);
/* oklch */ color: oklch(52.3% 0.193 308.9);
Tailwind
colors: {
  custom: {
    50: '#b079d1',
    500: '#8a3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ebc;
$custom-light: #b079d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ebc",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 276.19,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.19319,
    "h": 308.9
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#8A3EBC
secondary
#A5C98D
accent
#DA4E85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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