#8A3AC0#8A3AC0

#8A3AC0 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.202 H 308.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A3AC0
RGBrgb(138, 58, 192)
HSLhsl(276, 54%, 49%)
HSVhsv(276, 70%, 75%)
CMYKcmyk(28.1%, 69.8%, 0%, 24.7%)
CIE-LABlab(41.59, 56.46, -56.12)
CIE-LCHlch(41.59, 79.61, 315.17°)
OKLaboklab(52.14% 0.1252 -0.159)
OKLCHoklch(52.14% 0.202 308.2)
XYZxyz(21.5068, 12.2355, 51.0877)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3AC0 #70C03A
analogous
#473AC0 #8A3AC0 #C03AB3
triadic
#8A3AC0 #C08A3A #3AC08A
tetradic
#8A3AC0 #C0473A #70C03A #3AB3C0
square
#8A3AC0 #C0473A #70C03A #3AB3C0
split-complementary
#8A3AC0 #B3C03A #3AC047
monochromatic
#461E62 #682C91 #8A3AC0 #A666D1 #C195DF

Accessibility & contrast

On white

6.09
#8A3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A3AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3AC0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3AC0#FFFFFF#000000##FFFFFF
##8A3AC01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#1963BD
Tritanopia (blue-blind)
#825879
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3ac0;
/* rgb */ color: rgb(138, 58, 192);
/* oklch */ color: oklch(52.1% 0.202 308.2);
Tailwind
colors: {
  custom: {
    50: '#b177d4',
    500: '#8a3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ac0;
$custom-light: #b177d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ac0",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 275.821,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.20238,
    "h": 308.2
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#8A3AC0
secondary
#A5CA8B
accent
#DD4B86
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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