#8A4DDC#8A4DDC

#8A4DDC is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.208 H 299.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A4DDC
RGBrgb(138, 77, 220)
HSLhsl(266, 67%, 58%)
HSVhsv(266, 65%, 86%)
CMYKcmyk(37.3%, 65%, 0%, 13.7%)
CIE-LABlab(46.81, 54.03, -63.81)
CIE-LCHlch(46.81, 83.61, 310.26°)
OKLaboklab(56.5% 0.1016 -0.1817)
OKLCHoklch(56.5% 0.208 299.2)
XYZxyz(26.0502, 15.8780, 69.3886)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DDC #9FDC4D
analogous
#4D57DC #8A4DDC #D14DDC
triadic
#8A4DDC #DC8A4D #4DDC8A
tetradic
#8A4DDC #DC4D57 #9FDC4D #4DDCD1
square
#8A4DDC #DC4D57 #9FDC4D #4DDCD1
split-complementary
#8A4DDC #DCD14D #57DC4D
monochromatic
#4F1D92 #6A27C5 #8A4DDC #AC80E6 #CDB3F0

Accessibility & contrast

On white

5.03
#8A4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8A4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DDC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DDC#FFFFFF#000000##FFFFFF
##8A4DDC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#776E8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a4ddc;
/* rgb */ color: rgb(138, 77, 220);
/* oklch */ color: oklch(56.5% 0.208 299.2);
Tailwind
colors: {
  custom: {
    50: '#b282e8',
    500: '#8a4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ddc;
$custom-light: #b282e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ddc",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 265.594,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.20818,
    "h": 299.2
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#8A4DDC
secondary
#C7DFA6
accent
#EA3EA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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