#8A4BAD#8A4BAD

#8A4BAD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.158 H 311.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A4BAD
RGBrgb(138, 75, 173)
HSLhsl(279, 40%, 49%)
HSVhsv(279, 57%, 68%)
CMYKcmyk(20.2%, 56.6%, 0%, 32.2%)
CIE-LABlab(43.44, 43.84, -41.99)
CIE-LCHlch(43.44, 60.71, 316.24°)
OKLaboklab(53.09% 0.1055 -0.1177)
OKLCHoklch(53.09% 0.158 311.9)
XYZxyz(20.5388, 13.4530, 41.0418)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BAD #6EAD4B
analogous
#594BAD #8A4BAD #AD4B9F
triadic
#8A4BAD #AD8A4B #4BAD8A
tetradic
#8A4BAD #AD594B #6EAD4B #4B9FAD
square
#8A4BAD #AD594B #6EAD4B #4B9FAD
split-complementary
#8A4BAD #9FAD4B #4BAD59
monochromatic
#462658 #683882 #8A4BAD #A673C2 #C19ED5

Accessibility & contrast

On white

5.69
#8A4BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A4BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BAD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BAD#FFFFFF#000000##FFFFFF
##8A4BAD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63B0
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#865C75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4bad;
/* rgb */ color: rgb(138, 75, 173);
/* oklch */ color: oklch(53.1% 0.158 311.9);
Tailwind
colors: {
  custom: {
    50: '#af80c6',
    500: '#8a4bad',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bad;
$custom-light: #af80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bad",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 278.571,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.1581,
    "h": 311.9
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#8A4BAD
secondary
#A3C192
accent
#CF5883
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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