#8A3ABF#8A3ABF

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

Color values

HEX#8A3ABF
RGBrgb(138, 58, 191)
HSLhsl(276, 53%, 49%)
HSVhsv(276, 70%, 75%)
CMYKcmyk(27.7%, 69.6%, 0%, 25.1%)
CIE-LABlab(41.52, 56.24, -55.65)
CIE-LCHlch(41.52, 79.12, 315.30°)
OKLaboklab(52.07% 0.1253 -0.1577)
OKLCHoklch(52.07% 0.201 308.5)
XYZxyz(21.3963, 12.1913, 50.5061)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ABF #6FBF3A
analogous
#473ABF #8A3ABF #BF3AB2
triadic
#8A3ABF #BF8A3A #3ABF8A
tetradic
#8A3ABF #BF473A #6FBF3A #3AB2BF
square
#8A3ABF #BF473A #6FBF3A #3AB2BF
split-complementary
#8A3ABF #B2BF3A #3ABF47
monochromatic
#461D61 #682C90 #8A3ABF #A666D0 #C195DF

Accessibility & contrast

On white

6.11
#8A3ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A3ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ABF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ABF#FFFFFF#000000##FFFFFF
##8A3ABF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#825778
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3abf;
/* rgb */ color: rgb(138, 58, 191);
/* oklch */ color: oklch(52.1% 0.201 308.5);
Tailwind
colors: {
  custom: {
    50: '#b177d3',
    500: '#8a3abf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3abf;
$custom-light: #b177d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3abf",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 276.09,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.20137,
    "h": 308.5
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#8A3ABF
secondary
#A4CA8B
accent
#DD4B85
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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