#8A3ABC#8A3ABC

#8A3ABC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 309.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A3ABC
RGBrgb(138, 58, 188)
HSLhsl(277, 53%, 48%)
HSVhsv(277, 69%, 74%)
CMYKcmyk(26.6%, 69.1%, 0%, 26.3%)
CIE-LABlab(41.31, 55.57, -54.23)
CIE-LCHlch(41.31, 77.64, 315.70°)
OKLaboklab(51.86% 0.1256 -0.1535)
OKLCHoklch(51.86% 0.198 309.3)
XYZxyz(21.0696, 12.0606, 48.7852)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ABC #6CBC3A
analogous
#493ABC #8A3ABC #BC3AAD
triadic
#8A3ABC #BC8A3A #3ABC8A
tetradic
#8A3ABC #BC493A #6CBC3A #3AADBC
square
#8A3ABC #BC493A #6CBC3A #3AADBC
split-complementary
#8A3ABC #ADBC3A #3ABC49
monochromatic
#451D5E #682C8D #8A3ABC #A664CF #C193DE

Accessibility & contrast

On white

6.15
#8A3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ABC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ABC#FFFFFF#000000##FFFFFF
##8A3ABC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#2163B9
Tritanopia (blue-blind)
#835677
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3abc;
/* rgb */ color: rgb(138, 58, 188);
/* oklch */ color: oklch(51.9% 0.198 309.3);
Tailwind
colors: {
  custom: {
    50: '#b076d1',
    500: '#8a3abc',
    950: '#000000',
  },
}
SCSS
$custom: #8a3abc;
$custom-light: #b076d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3abc",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 276.923,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.19834,
    "h": 309.3
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#8A3ABC
secondary
#A2C989
accent
#DC4C83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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