#8A4AFF#8A4AFF

#8A4AFF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.250 H 293.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A4AFF
RGBrgb(138, 74, 255)
HSLhsl(261, 100%, 65%)
HSVhsv(261, 71%, 100%)
CMYKcmyk(45.9%, 71%, 0%, 0%)
CIE-LABlab(48.91, 64.30, -80.09)
CIE-LCHlch(48.91, 102.71, 308.76°)
OKLaboklab(58.82% 0.099 -0.2296)
OKLCHoklch(58.82% 0.25 293.3)
XYZxyz(30.9750, 17.5199, 96.3380)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AFF #BFFF4A
analogous
#4A65FF #8A4AFF #E44AFF
triadic
#8A4AFF #FF8A4A #4AFF8A
tetradic
#8A4AFF #FF4A65 #BFFF4A #4AFFE4
square
#8A4AFF #FF4A65 #BFFF4A #4AFFE4
split-complementary
#8A4AFF #FFE44A #65FF4A
monochromatic
#4900CF #620DFF #8A4AFF #B287FF #D9C4FF

Accessibility & contrast

On white

4.66
#8A4AFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8A4AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AFF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AFF#FFFFFF#000000##FFFFFF
##8A4AFF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0071FB
Tritanopia (blue-blind)
#6779A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a4aff;
/* rgb */ color: rgb(138, 74, 255);
/* oklch */ color: oklch(58.8% 0.250 293.3);
Tailwind
colors: {
  custom: {
    50: '#b582ff',
    500: '#8a4aff',
    950: '#000000',
  },
}
SCSS
$custom: #8a4aff;
$custom-light: #b582ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4aff",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 261.215,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58816,
    "c": 0.24998,
    "h": 293.3
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#8A4AFF
secondary
#DCF2B3
accent
#E60094
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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