#8A4ADB#8A4ADB

#8A4ADB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.211 H 299.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A4ADB
RGBrgb(138, 74, 219)
HSLhsl(266, 67%, 57%)
HSVhsv(266, 66%, 86%)
CMYKcmyk(37%, 66.2%, 0%, 14.1%)
CIE-LABlab(46.20, 55.28, -64.24)
CIE-LCHlch(46.20, 84.75, 310.71°)
OKLaboklab(56.04% 0.1049 -0.183)
OKLCHoklch(56.04% 0.211 299.8)
XYZxyz(25.7130, 15.4151, 68.6248)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4ADB #9BDB4A
analogous
#4A52DB #8A4ADB #D34ADB
triadic
#8A4ADB #DB8A4A #4ADB8A
tetradic
#8A4ADB #DB4A52 #9BDB4A #4ADBD3
square
#8A4ADB #DB4A52 #9BDB4A #4ADBD3
split-complementary
#8A4ADB #DBD34A #52DB4A
monochromatic
#4F1C8E #6B26C1 #8A4ADB #AB7DE5 #CCB0EF

Accessibility & contrast

On white

5.14
#8A4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8A4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4ADB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4ADB#FFFFFF#000000##FFFFFF
##8A4ADB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#786B8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4adb;
/* rgb */ color: rgb(138, 74, 219);
/* oklch */ color: oklch(56.0% 0.211 299.8);
Tailwind
colors: {
  custom: {
    50: '#b281e7',
    500: '#8a4adb',
    950: '#000000',
  },
}
SCSS
$custom: #8a4adb;
$custom-light: #b281e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4adb",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 266.483,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.2109,
    "h": 299.8
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#8A4ADB
secondary
#C4DEA3
accent
#EA3E9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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