#8A4CB3#8A4CB3

#8A4CB3 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.163 H 309.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A4CB3
RGBrgb(138, 76, 179)
HSLhsl(276, 40%, 50%)
HSVhsv(276, 58%, 70%)
CMYKcmyk(22.9%, 57.5%, 0%, 29.8%)
CIE-LABlab(43.98, 44.68, -44.66)
CIE-LCHlch(43.98, 63.17, 315.01°)
OKLaboklab(53.61% 0.1045 -0.1255)
OKLCHoklch(53.61% 0.163 309.8)
XYZxyz(21.2008, 13.8272, 44.1912)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CB3 #75B34C
analogous
#574CB3 #8A4CB3 #B34CA8
triadic
#8A4CB3 #B38A4C #4CB38A
tetradic
#8A4CB3 #B3574C #75B34C #4CA8B3
square
#8A4CB3 #B3574C #75B34C #4CA8B3
split-complementary
#8A4CB3 #A8B34C #4CB357
monochromatic
#48285D #693A88 #8A4CB3 #A677C5 #C2A2D7

Accessibility & contrast

On white

5.58
#8A4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A4CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CB3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CB3#FFFFFF#000000##FFFFFF
##8A4CB31.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#855F78
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4cb3;
/* rgb */ color: rgb(138, 76, 179);
/* oklch */ color: oklch(53.6% 0.163 309.8);
Tailwind
colors: {
  custom: {
    50: '#af81ca',
    500: '#8a4cb3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cb3;
$custom-light: #af81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cb3",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 276.117,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.16327,
    "h": 309.8
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#8A4CB3
secondary
#A9C496
accent
#D05888
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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