#8A4CB0#8A4CB0

#8A4CB0 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.160 H 310.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A4CB0
RGBrgb(138, 76, 176)
HSLhsl(277, 40%, 49%)
HSVhsv(277, 57%, 69%)
CMYKcmyk(21.6%, 56.8%, 0%, 31%)
CIE-LABlab(43.81, 43.99, -43.17)
CIE-LCHlch(43.81, 61.64, 315.54°)
OKLaboklab(53.42% 0.1043 -0.1211)
OKLCHoklch(53.42% 0.16 310.7)
XYZxyz(20.9007, 13.7072, 42.6106)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CB0 #72B04C
analogous
#584CB0 #8A4CB0 #B04CA4
triadic
#8A4CB0 #B08A4C #4CB08A
tetradic
#8A4CB0 #B0584C #72B04C #4CA4B0
square
#8A4CB0 #B0584C #72B04C #4CA4B0
split-complementary
#8A4CB0 #A4B04C #4CB058
monochromatic
#47275B #683A85 #8A4CB0 #A676C4 #C2A0D6

Accessibility & contrast

On white

5.61
#8A4CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A4CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CB0
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CB0#FFFFFF#000000##FFFFFF
##8A4CB01.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#855E77
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4cb0;
/* rgb */ color: rgb(138, 76, 176);
/* oklch */ color: oklch(53.4% 0.160 310.7);
Tailwind
colors: {
  custom: {
    50: '#af81c8',
    500: '#8a4cb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cb0;
$custom-light: #af81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cb0",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 277.2,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.15989,
    "h": 310.7
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#8A4CB0
secondary
#A6C395
accent
#D05886
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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