#8A4ACD#8A4ACD

#8A4ACD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.195 H 302.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A4ACD
RGBrgb(138, 74, 205)
HSLhsl(269, 57%, 55%)
HSVhsv(269, 64%, 80%)
CMYKcmyk(32.7%, 63.9%, 0%, 19.6%)
CIE-LABlab(45.23, 51.86, -57.78)
CIE-LCHlch(45.23, 77.64, 311.91°)
OKLaboklab(55.04% 0.1063 -0.164)
OKLCHoklch(55.04% 0.195 302.9)
XYZxyz(23.9469, 14.7086, 59.3232)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4ACD #8DCD4A
analogous
#4A4CCD #8A4ACD #CC4ACD
triadic
#8A4ACD #CD8A4A #4ACD8A
tetradic
#8A4ACD #CD4A4C #8DCD4A #4ACDCC
square
#8A4ACD #CD4A4C #8DCD4A #4ACDCC
split-complementary
#8A4ACD #CDCC4A #4CCD4A
monochromatic
#4D227B #6B2FAB #8A4ACD #A97ADA #C8AAE7

Accessibility & contrast

On white

5.33
#8A4ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8A4ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4ACD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4ACD#FFFFFF#000000##FFFFFF
##8A4ACD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#1E6BCA
Tritanopia (blue-blind)
#7D6685
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4acd;
/* rgb */ color: rgb(138, 74, 205);
/* oklch */ color: oklch(55.0% 0.195 302.9);
Tailwind
colors: {
  custom: {
    50: '#b180dd',
    500: '#8a4acd',
    950: '#000000',
  },
}
SCSS
$custom: #8a4acd;
$custom-light: #b180dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4acd",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 269.313,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.19539,
    "h": 302.9
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#8A4ACD
secondary
#BAD59E
accent
#E04896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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