#8A4DEE#8A4DEE

#8A4DEE is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.228 H 295.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A4DEE
RGBrgb(138, 77, 238)
HSLhsl(263, 83%, 62%)
HSVhsv(263, 68%, 93%)
CMYKcmyk(42%, 67.6%, 0%, 6.7%)
CIE-LABlab(48.11, 58.56, -71.89)
CIE-LCHlch(48.11, 92.72, 309.17°)
OKLaboklab(57.84% 0.0993 -0.2055)
OKLCHoklch(57.84% 0.228 295.8)
XYZxyz(28.5636, 16.8834, 82.6262)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DEE #B1EE4D
analogous
#4D61EE #8A4DEE #DB4DEE
triadic
#8A4DEE #EE8A4D #4DEE8A
tetradic
#8A4DEE #EE4D61 #B1EE4D #4DEEDB
square
#8A4DEE #EE4D61 #B1EE4D #4DEEDB
split-complementary
#8A4DEE #EEDB4D #61EE4D
monochromatic
#4D11B0 #6616E8 #8A4DEE #AF85F3 #D3BDF9

Accessibility & contrast

On white

4.80
#8A4DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8A4DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DEE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DEE#FFFFFF#000000##FFFFFF
##8A4DEE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#707498
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a4dee;
/* rgb */ color: rgb(138, 77, 238);
/* oklch */ color: oklch(57.8% 0.228 295.8);
Tailwind
colors: {
  custom: {
    50: '#b383f5',
    500: '#8a4dee',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dee;
$custom-light: #b383f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dee",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 238
  },
  "hsl": {
    "h": 262.733,
    "s": 82.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.22818,
    "h": 295.8
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#8A4DEE
secondary
#D3E9AE
accent
#DF078D
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A4DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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