#8A4DC3#8A4DC3

#8A4DC3 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.180 H 305.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A4DC3
RGBrgb(138, 77, 195)
HSLhsl(271, 50%, 53%)
HSVhsv(271, 61%, 76%)
CMYKcmyk(29.2%, 60.5%, 0%, 23.5%)
CIE-LABlab(45.15, 47.91, -52.12)
CIE-LCHlch(45.15, 70.80, 312.59°)
OKLaboklab(54.77% 0.1032 -0.1474)
OKLCHoklch(54.77% 0.18 305)
XYZxyz(22.9833, 14.6513, 53.2364)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DC3 #86C34D
analogous
#4F4DC3 #8A4DC3 #C34DC1
triadic
#8A4DC3 #C38A4D #4DC38A
tetradic
#8A4DC3 #C34F4D #86C34D #4DC1C3
square
#8A4DC3 #C34F4D #86C34D #4DC1C3
split-complementary
#8A4DC3 #C1C34D #4DC34F
monochromatic
#4C2670 #6B359E #8A4DC3 #A87BD2 #C6A9E2

Accessibility & contrast

On white

5.34
#8A4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8A4DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DC3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DC3#FFFFFF#000000##FFFFFF
##8A4DC31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1069C7
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#806581
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4dc3;
/* rgb */ color: rgb(138, 77, 195);
/* oklch */ color: oklch(54.8% 0.180 305.0);
Tailwind
colors: {
  custom: {
    50: '#b082d6',
    500: '#8a4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dc3;
$custom-light: #b082d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dc3",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 271.017,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.17993,
    "h": 305
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#8A4DC3
secondary
#B5CF9D
accent
#D94F92
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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