#8A4DC1#8A4DC1

#8A4DC1 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.178 H 305.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A4DC1
RGBrgb(138, 77, 193)
HSLhsl(272, 48%, 53%)
HSVhsv(272, 60%, 76%)
CMYKcmyk(28.5%, 60.1%, 0%, 24.3%)
CIE-LABlab(45.03, 47.43, -51.16)
CIE-LCHlch(45.03, 69.77, 312.83°)
OKLaboklab(54.64% 0.1033 -0.1446)
OKLCHoklch(54.64% 0.178 305.5)
XYZxyz(22.7587, 14.5614, 52.0534)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DC1 #84C14D
analogous
#504DC1 #8A4DC1 #C14DBE
triadic
#8A4DC1 #C18A4D #4DC18A
tetradic
#8A4DC1 #C1504D #84C14D #4DBEC1
square
#8A4DC1 #C1504D #84C14D #4DBEC1
split-complementary
#8A4DC1 #BEC14D #4DC150
monochromatic
#4C266D #6B369B #8A4DC1 #A87AD1 #C6A8E1

Accessibility & contrast

On white

5.37
#8A4DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8A4DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DC1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DC1#FFFFFF#000000##FFFFFF
##8A4DC11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1569C5
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#816480
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4dc1;
/* rgb */ color: rgb(138, 77, 193);
/* oklch */ color: oklch(54.6% 0.178 305.5);
Tailwind
colors: {
  custom: {
    50: '#b082d4',
    500: '#8a4dc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dc1;
$custom-light: #b082d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dc1",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 271.552,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.17766,
    "h": 305.5
  },
  "luminance": 0.14561
}

Semantic roles & 50–950 ramp

primary
#8A4DC1
secondary
#B4CE9C
accent
#D85090
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A4DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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