#8A3FB0#8A3FB0

#8A3FB0 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.179 H 312.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8A3FB0
RGBrgb(138, 63, 176)
HSLhsl(280, 47%, 47%)
HSVhsv(280, 64%, 69%)
CMYKcmyk(21.6%, 64.2%, 0%, 31%)
CIE-LABlab(41.36, 50.60, -47.08)
CIE-LCHlch(41.36, 69.11, 317.06°)
OKLaboklab(51.64% 0.1209 -0.1325)
OKLCHoklch(51.64% 0.179 312.4)
XYZxyz(20.0938, 12.0934, 42.3416)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FB0 #65B03F
analogous
#523FB0 #8A3FB0 #B03F9E
triadic
#8A3FB0 #B08A3F #3FB08A
tetradic
#8A3FB0 #B0523F #65B03F #3F9EB0
square
#8A3FB0 #B0523F #65B03F #3F9EB0
split-complementary
#8A3FB0 #9EB03F #3FB052
monochromatic
#431F56 #672F83 #8A3FB0 #A665C8 #C092D8

Accessibility & contrast

On white

6.14
#8A3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A3FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FB0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FB0#FFFFFF#000000##FFFFFF
##8A3FB01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075EB3
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#865572
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3fb0;
/* rgb */ color: rgb(138, 63, 176);
/* oklch */ color: oklch(51.6% 0.179 312.4);
Tailwind
colors: {
  custom: {
    50: '#af79c8',
    500: '#8a3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fb0;
$custom-light: #af79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fb0",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 279.823,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.17937,
    "h": 312.4
  },
  "luminance": 0.12093
}

Semantic roles & 50–950 ramp

primary
#8A3FB0
secondary
#9CC388
accent
#D7517E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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