#8A4CCD#8A4CCD

#8A4CCD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.193 H 302.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A4CCD
RGBrgb(138, 76, 205)
HSLhsl(269, 56%, 55%)
HSVhsv(269, 63%, 80%)
CMYKcmyk(32.7%, 62.9%, 0%, 19.6%)
CIE-LABlab(45.61, 50.85, -57.17)
CIE-LCHlch(45.61, 76.51, 311.65°)
OKLaboklab(55.31% 0.104 -0.1622)
OKLCHoklch(55.31% 0.193 302.7)
XYZxyz(24.0826, 14.9799, 59.3684)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CCD #8FCD4C
analogous
#4C4FCD #8A4CCD #CA4CCD
triadic
#8A4CCD #CD8A4C #4CCD8A
tetradic
#8A4CCD #CD4C4F #8FCD4C #4CCDCA
square
#8A4CCD #CD4C4F #8FCD4C #4CCDCA
split-complementary
#8A4CCD #CDCA4C #4FCD4C
monochromatic
#4E237C #6B30AC #8A4CCD #A97CDA #C9ACE8

Accessibility & contrast

On white

5.26
#8A4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CCD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CCD#FFFFFF#000000##FFFFFF
##8A4CCD1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#226CCA
Tritanopia (blue-blind)
#7D6886
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4ccd;
/* rgb */ color: rgb(138, 76, 205);
/* oklch */ color: oklch(55.3% 0.193 302.7);
Tailwind
colors: {
  custom: {
    50: '#b181dd',
    500: '#8a4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ccd;
$custom-light: #b181dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ccd",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 268.837,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.19267,
    "h": 302.7
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#8A4CCD
secondary
#BBD59F
accent
#E04897
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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