#8A4BC3#8A4BC3

#8A4BC3 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.183 H 305.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8A4BC3
RGBrgb(138, 75, 195)
HSLhsl(272, 50%, 53%)
HSVhsv(272, 62%, 76%)
CMYKcmyk(29.2%, 61.5%, 0%, 23.5%)
CIE-LABlab(44.77, 48.95, -52.74)
CIE-LCHlch(44.77, 71.96, 312.86°)
OKLaboklab(54.49% 0.1057 -0.1492)
OKLCHoklch(54.49% 0.183 305.3)
XYZxyz(22.8455, 14.3757, 53.1904)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BC3 #84C34B
analogous
#4E4BC3 #8A4BC3 #C34BC0
triadic
#8A4BC3 #C38A4B #4BC38A
tetradic
#8A4BC3 #C34E4B #84C34B #4BC0C3
square
#8A4BC3 #C34E4B #84C34B #4BC0C3
split-complementary
#8A4BC3 #C0C34B #4BC34E
monochromatic
#4C256F #6B349D #8A4BC3 #A879D2 #C6A7E2

Accessibility & contrast

On white

5.42
#8A4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8A4BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BC3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BC3#FFFFFF#000000##FFFFFF
##8A4BC31.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0368C7
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#806480
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4bc3;
/* rgb */ color: rgb(138, 75, 195);
/* oklch */ color: oklch(54.5% 0.183 305.3);
Tailwind
colors: {
  custom: {
    50: '#b081d6',
    500: '#8a4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bc3;
$custom-light: #b081d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bc3",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 271.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.18282,
    "h": 305.3
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#8A4BC3
secondary
#B4CF9B
accent
#DA4E90
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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