#8A4CC0#8A4CC0

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

Color values

HEX#8A4CC0
RGBrgb(138, 76, 192)
HSLhsl(272, 48%, 53%)
HSVhsv(272, 60%, 75%)
CMYKcmyk(28.1%, 60.4%, 0%, 24.7%)
CIE-LABlab(44.77, 47.72, -51.00)
CIE-LCHlch(44.77, 69.84, 313.10°)
OKLaboklab(54.43% 0.1045 -0.1441)
OKLCHoklch(54.43% 0.178 306)
XYZxyz(22.5781, 14.3781, 51.4448)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CC0 #82C04C
analogous
#504CC0 #8A4CC0 #C04CBC
triadic
#8A4CC0 #C08A4C #4CC08A
tetradic
#8A4CC0 #C0504C #82C04C #4CBCC0
square
#8A4CC0 #C0504C #82C04C #4CBCC0
split-complementary
#8A4CC0 #BCC04C #4CC050
monochromatic
#4B266C #6B3699 #8A4CC0 #A879D0 #C5A7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A4CC0#FFFFFF#000000##FFFFFF
##8A4CC01.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)
#1468C4
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#81637F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4cc0;
/* rgb */ color: rgb(138, 76, 192);
/* oklch */ color: oklch(54.4% 0.178 306.0);
Tailwind
colors: {
  custom: {
    50: '#b081d4',
    500: '#8a4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cc0;
$custom-light: #b081d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cc0",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 272.069,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.17799,
    "h": 306
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#8A4CC0
secondary
#B2CD9B
accent
#D8508F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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