#8A4CC3#8A4CC3

#8A4CC3 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.181 H 305.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A4CC3
RGBrgb(138, 76, 195)
HSLhsl(271, 50%, 53%)
HSVhsv(271, 61%, 76%)
CMYKcmyk(29.2%, 61%, 0%, 23.5%)
CIE-LABlab(44.96, 48.43, -52.44)
CIE-LCHlch(44.96, 71.38, 312.73°)
OKLaboklab(54.63% 0.1044 -0.1483)
OKLCHoklch(54.63% 0.181 305.2)
XYZxyz(22.9139, 14.5124, 53.2132)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CC3 #85C34C
analogous
#4E4CC3 #8A4CC3 #C34CC0
triadic
#8A4CC3 #C38A4C #4CC38A
tetradic
#8A4CC3 #C34E4C #85C34C #4CC0C3
square
#8A4CC3 #C34E4C #85C34C #4CC0C3
split-complementary
#8A4CC3 #C0C34C #4CC34E
monochromatic
#4C256F #6B359D #8A4CC3 #A87AD2 #C6A8E2

Accessibility & contrast

On white

5.38
#8A4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8A4CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CC3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CC3#FFFFFF#000000##FFFFFF
##8A4CC31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A69C7
Deuteranopia (green-blind)
#316BC0
Tritanopia (blue-blind)
#806480
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4cc3;
/* rgb */ color: rgb(138, 76, 195);
/* oklch */ color: oklch(54.6% 0.181 305.2);
Tailwind
colors: {
  custom: {
    50: '#b081d6',
    500: '#8a4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cc3;
$custom-light: #b081d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cc3",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 271.261,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.18138,
    "h": 305.2
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#8A4CC3
secondary
#B4CF9C
accent
#D94E91
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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