#8A3FB3#8A3FB3

#8A3FB3 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.182 H 311.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A3FB3
RGBrgb(138, 63, 179)
HSLhsl(279, 48%, 47%)
HSVhsv(279, 65%, 70%)
CMYKcmyk(22.9%, 64.8%, 0%, 29.8%)
CIE-LABlab(41.55, 51.26, -48.55)
CIE-LCHlch(41.55, 70.60, 316.56°)
OKLaboklab(51.84% 0.1208 -0.1368)
OKLCHoklch(51.84% 0.182 311.4)
XYZxyz(20.3939, 12.2134, 43.9222)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FB3 #68B33F
analogous
#503FB3 #8A3FB3 #B33FA2
triadic
#8A3FB3 #B38A3F #3FB38A
tetradic
#8A3FB3 #B3503F #68B33F #3FA2B3
square
#8A3FB3 #B3503F #68B33F #3FA2B3
split-complementary
#8A3FB3 #A2B33F #3FB350
monochromatic
#441F58 #672F86 #8A3FB3 #A666C9 #C093D9

Accessibility & contrast

On white

6.10
#8A3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3FB3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FB3#FFFFFF#000000##FFFFFF
##8A3FB31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#855673
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a3fb3;
/* rgb */ color: rgb(138, 63, 179);
/* oklch */ color: oklch(51.8% 0.182 311.4);
Tailwind
colors: {
  custom: {
    50: '#b079ca',
    500: '#8a3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fb3;
$custom-light: #b079ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fb3",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 278.793,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.18248,
    "h": 311.4
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#8A3FB3
secondary
#9EC489
accent
#D85080
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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