#8A3BB7#8A3BB7

#8A3BB7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.192 H 310.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8A3BB7
RGBrgb(138, 59, 183)
HSLhsl(278, 51%, 47%)
HSVhsv(278, 68%, 72%)
CMYKcmyk(24.6%, 67.8%, 0%, 28.2%)
CIE-LABlab(41.14, 54.01, -51.57)
CIE-LCHlch(41.14, 74.68, 316.32°)
OKLaboklab(51.62% 0.1251 -0.1457)
OKLCHoklch(51.62% 0.192 310.6)
XYZxyz(20.5908, 11.9506, 46.0126)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BB7 #68B73B
analogous
#4C3BB7 #8A3BB7 #B73BA6
triadic
#8A3BB7 #B78A3B #3BB78A
tetradic
#8A3BB7 #B74C3B #68B73B #3BA6B7
square
#8A3BB7 #B74C3B #68B73B #3BA6B7
split-complementary
#8A3BB7 #A6B73B #3BB74C
monochromatic
#441D5A #672C89 #8A3BB7 #A663CD #C091DC

Accessibility & contrast

On white

6.19
#8A3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BB7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BB7#FFFFFF#000000##FFFFFF
##8A3BB71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2A62B4
Tritanopia (blue-blind)
#845574
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a3bb7;
/* rgb */ color: rgb(138, 59, 183);
/* oklch */ color: oklch(51.6% 0.192 310.6);
Tailwind
colors: {
  custom: {
    50: '#b077cd',
    500: '#8a3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bb7;
$custom-light: #b077cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bb7",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 278.226,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.192,
    "h": 310.6
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#8A3BB7
secondary
#9EC687
accent
#DB4D80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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