#8A4FB3#8A4FB3

#8A4FB3 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.159 H 309.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A4FB3
RGBrgb(138, 79, 179)
HSLhsl(275, 40%, 51%)
HSVhsv(275, 56%, 70%)
CMYKcmyk(22.9%, 55.9%, 0%, 29.8%)
CIE-LABlab(44.59, 43.07, -43.69)
CIE-LCHlch(44.59, 61.35, 314.59°)
OKLaboklab(54.05% 0.1005 -0.1227)
OKLCHoklch(54.05% 0.159 309.3)
XYZxyz(21.4123, 14.2503, 44.2617)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FB3 #78B34F
analogous
#584FB3 #8A4FB3 #B34FAA
triadic
#8A4FB3 #B38A4F #4FB38A
tetradic
#8A4FB3 #B3584F #78B34F #4FAAB3
square
#8A4FB3 #B3584F #78B34F #4FAAB3
split-complementary
#8A4FB3 #AAB34F #4FB358
monochromatic
#49295F #693B89 #8A4FB3 #A67AC5 #C3A4D8

Accessibility & contrast

On white

5.45
#8A4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8A4FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FB3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FB3#FFFFFF#000000##FFFFFF
##8A4FB31.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#446AB1
Tritanopia (blue-blind)
#846179
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4fb3;
/* rgb */ color: rgb(138, 79, 179);
/* oklch */ color: oklch(54.1% 0.159 309.3);
Tailwind
colors: {
  custom: {
    50: '#af83ca',
    500: '#8a4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fb3;
$custom-light: #af83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fb3",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 275.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.15857,
    "h": 309.3
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#8A4FB3
secondary
#ABC599
accent
#D05889
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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