#8A4BAE#8A4BAE

#8A4BAE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.159 H 311.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A4BAE
RGBrgb(138, 75, 174)
HSLhsl(278, 40%, 49%)
HSVhsv(278, 57%, 68%)
CMYKcmyk(20.7%, 56.9%, 0%, 31.8%)
CIE-LABlab(43.50, 44.07, -42.49)
CIE-LCHlch(43.50, 61.22, 316.04°)
OKLaboklab(53.15% 0.1056 -0.1192)
OKLCHoklch(53.15% 0.159 311.5)
XYZxyz(20.6359, 13.4919, 41.5533)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BAE #6FAE4B
analogous
#594BAE #8A4BAE #AE4BA1
triadic
#8A4BAE #AE8A4B #4BAE8A
tetradic
#8A4BAE #AE594B #6FAE4B #4BA1AE
square
#8A4BAE #AE594B #6FAE4B #4BA1AE
split-complementary
#8A4BAE #A1AE4B #4BAE59
monochromatic
#462658 #683983 #8A4BAE #A673C3 #C19ED5

Accessibility & contrast

On white

5.68
#8A4BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A4BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BAE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BAE#FFFFFF#000000##FFFFFF
##8A4BAE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4bae;
/* rgb */ color: rgb(138, 75, 174);
/* oklch */ color: oklch(53.2% 0.159 311.5);
Tailwind
colors: {
  custom: {
    50: '#af80c7',
    500: '#8a4bae',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bae;
$custom-light: #af80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bae",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 278.182,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.15921,
    "h": 311.5
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#8A4BAE
secondary
#A4C293
accent
#D05884
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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