#8A4DDE#8A4DDE

#8A4DDE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.210 H 298.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A4DDE
RGBrgb(138, 77, 222)
HSLhsl(265, 69%, 59%)
HSVhsv(265, 65%, 87%)
CMYKcmyk(37.8%, 65.3%, 0%, 12.9%)
CIE-LABlab(46.95, 54.53, -64.72)
CIE-LCHlch(46.95, 84.63, 310.12°)
OKLaboklab(56.65% 0.1014 -0.1844)
OKLCHoklch(56.65% 0.21 298.8)
XYZxyz(26.3166, 15.9846, 70.7919)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DDE #A1DE4D
analogous
#4D58DE #8A4DDE #D24DDE
triadic
#8A4DDE #DE8A4D #4DDE8A
tetradic
#8A4DDE #DE4D58 #A1DE4D #4DDED2
square
#8A4DDE #DE4D58 #A1DE4D #4DDED2
split-complementary
#8A4DDE #DED24D #58DE4D
monochromatic
#4F1C95 #6A25C9 #8A4DDE #AC81E8 #CEB4F1

Accessibility & contrast

On white

5.00
#8A4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8A4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DDE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DDE#FFFFFF#000000##FFFFFF
##8A4DDE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#766E8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a4dde;
/* rgb */ color: rgb(138, 77, 222);
/* oklch */ color: oklch(56.6% 0.210 298.8);
Tailwind
colors: {
  custom: {
    50: '#b282e9',
    500: '#8a4dde',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dde;
$custom-light: #b282e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dde",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 265.241,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.21042,
    "h": 298.8
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#8A4DDE
secondary
#C8E0A7
accent
#EC3CA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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