#8A4AEF#8A4AEF

#8A4AEF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.233 H 296.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A4AEF
RGBrgb(138, 74, 239)
HSLhsl(263, 84%, 61%)
HSVhsv(263, 69%, 94%)
CMYKcmyk(42.3%, 69%, 0%, 6.3%)
CIE-LABlab(47.67, 60.27, -73.18)
CIE-LCHlch(47.67, 94.80, 309.47°)
OKLaboklab(57.55% 0.102 -0.2092)
OKLCHoklch(57.55% 0.233 296)
XYZxyz(28.5059, 16.5322, 83.3338)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AEF #AFEF4A
analogous
#4A5DEF #8A4AEF #DD4AEF
triadic
#8A4AEF #EF8A4A #4AEF8A
tetradic
#8A4AEF #EF4A5D #AFEF4A #4AEFDD
square
#8A4AEF #EF4A5D #AFEF4A #4AEFDD
split-complementary
#8A4AEF #EFDD4A #5DEF4A
monochromatic
#4D0FAF #6614E7 #8A4AEF #AE82F4 #D3BAF9

Accessibility & contrast

On white

4.88
#8A4AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8A4AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AEF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AEF#FFFFFF#000000##FFFFFF
##8A4AEF1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#6F7397
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a4aef;
/* rgb */ color: rgb(138, 74, 239);
/* oklch */ color: oklch(57.5% 0.233 296.0);
Tailwind
colors: {
  custom: {
    50: '#b481f5',
    500: '#8a4aef',
    950: '#000000',
  },
}
SCSS
$custom: #8a4aef;
$custom-light: #b481f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4aef",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 263.273,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57547,
    "c": 0.23277,
    "h": 296
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#8A4AEF
secondary
#D1E9AC
accent
#E0058B
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8A4AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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