#8A4CC9#8A4CC9

#8A4CC9 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.188 H 303.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A4CC9
RGBrgb(138, 76, 201)
HSLhsl(270, 54%, 54%)
HSVhsv(270, 62%, 79%)
CMYKcmyk(31.3%, 62.2%, 0%, 21.2%)
CIE-LABlab(45.34, 49.88, -55.29)
CIE-LCHlch(45.34, 74.46, 312.05°)
OKLaboklab(55.03% 0.1042 -0.1567)
OKLCHoklch(55.03% 0.188 303.6)
XYZxyz(23.6059, 14.7892, 56.8580)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CC9 #8BC94C
analogous
#4C4DC9 #8A4CC9 #C94CC9
triadic
#8A4CC9 #C98A4C #4CC98A
tetradic
#8A4CC9 #C94C4D #8BC94C #4CC9C9
square
#8A4CC9 #C94C4D #8BC94C #4CC9C9
split-complementary
#8A4CC9 #C9C94C #4DC94C
monochromatic
#4D2477 #6B32A6 #8A4CC9 #A97BD7 #C7AAE5

Accessibility & contrast

On white

5.31
#8A4CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A4CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CC9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CC9#FFFFFF#000000##FFFFFF
##8A4CC91.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#7E6683
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4cc9;
/* rgb */ color: rgb(138, 76, 201);
/* oklch */ color: oklch(55.0% 0.188 303.6);
Tailwind
colors: {
  custom: {
    50: '#b081da',
    500: '#8a4cc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cc9;
$custom-light: #b081da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cc9",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 269.76,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.18816,
    "h": 303.6
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#8A4CC9
secondary
#B9D39E
accent
#DD4B94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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