#8A4CC8#8A4CC8

#8A4CC8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.187 H 303.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A4CC8
RGBrgb(138, 76, 200)
HSLhsl(270, 53%, 54%)
HSVhsv(270, 62%, 78%)
CMYKcmyk(31%, 62%, 0%, 21.6%)
CIE-LABlab(45.28, 49.63, -54.82)
CIE-LCHlch(45.28, 73.95, 312.16°)
OKLaboklab(54.97% 0.1043 -0.1553)
OKLCHoklch(54.97% 0.187 303.9)
XYZxyz(23.4887, 14.7424, 56.2405)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CC8 #8AC84C
analogous
#4C4CC8 #8A4CC8 #C84CC8
triadic
#8A4CC8 #C88A4C #4CC88A
tetradic
#8A4CC8 #C84C4C #8AC84C #4CC8C8
square
#8A4CC8 #C84C4C #8AC84C #4CC8C8
split-complementary
#8A4CC8 #C8C84C #4CC84C
monochromatic
#4D2475 #6B32A4 #8A4CC8 #A97BD6 #C7AAE5

Accessibility & contrast

On white

5.32
#8A4CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A4CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CC8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CC8#FFFFFF#000000##FFFFFF
##8A4CC81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#7E6683
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4cc8;
/* rgb */ color: rgb(138, 76, 200);
/* oklch */ color: oklch(55.0% 0.187 303.9);
Tailwind
colors: {
  custom: {
    50: '#b081d9',
    500: '#8a4cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cc8;
$custom-light: #b081d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cc8",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54966,
    "c": 0.18703,
    "h": 303.9
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#8A4CC8
secondary
#B8D29E
accent
#DC4B94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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