#8A4CC1#8A4CC1

#8A4CC1 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.179 H 305.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A4CC1
RGBrgb(138, 76, 193)
HSLhsl(272, 49%, 53%)
HSVhsv(272, 61%, 76%)
CMYKcmyk(28.5%, 60.6%, 0%, 24.3%)
CIE-LABlab(44.83, 47.96, -51.48)
CIE-LCHlch(44.83, 70.35, 312.97°)
OKLaboklab(54.5% 0.1045 -0.1455)
OKLCHoklch(54.5% 0.179 305.7)
XYZxyz(22.6892, 14.4226, 52.0303)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CC1 #83C14C
analogous
#4F4CC1 #8A4CC1 #C14CBD
triadic
#8A4CC1 #C18A4C #4CC18A
tetradic
#8A4CC1 #C14F4C #83C14C #4CBDC1
square
#8A4CC1 #C14F4C #83C14C #4CBDC1
split-complementary
#8A4CC1 #BDC14C #4CC14F
monochromatic
#4B266D #6B359A #8A4CC1 #A879D1 #C5A7E0

Accessibility & contrast

On white

5.41
#8A4CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4CC1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CC1#FFFFFF#000000##FFFFFF
##8A4CC11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1168C5
Deuteranopia (green-blind)
#346ABE
Tritanopia (blue-blind)
#81637F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a4cc1;
/* rgb */ color: rgb(138, 76, 193);
/* oklch */ color: oklch(54.5% 0.179 305.7);
Tailwind
colors: {
  custom: {
    50: '#b081d4',
    500: '#8a4cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cc1;
$custom-light: #b081d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cc1",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 271.795,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.17912,
    "h": 305.7
  },
  "luminance": 0.14422
}

Semantic roles & 50–950 ramp

primary
#8A4CC1
secondary
#B3CE9B
accent
#D85090
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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