#8A4ABF#8A4ABF

#8A4ABF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.180 H 306.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A4ABF
RGBrgb(138, 74, 191)
HSLhsl(273, 48%, 52%)
HSVhsv(273, 61%, 75%)
CMYKcmyk(27.7%, 61.3%, 0%, 25.1%)
CIE-LABlab(44.32, 48.52, -51.13)
CIE-LCHlch(44.32, 70.49, 313.50°)
OKLaboklab(54.09% 0.107 -0.1445)
OKLCHoklch(54.09% 0.18 306.5)
XYZxyz(22.3320, 14.0626, 50.8180)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4ABF #7FBF4A
analogous
#504ABF #8A4ABF #BF4AB9
triadic
#8A4ABF #BF8A4A #4ABF8A
tetradic
#8A4ABF #BF504A #7FBF4A #4AB9BF
square
#8A4ABF #BF504A #7FBF4A #4AB9BF
split-complementary
#8A4ABF #B9BF4A #4ABF50
monochromatic
#4B2569 #6A3597 #8A4ABF #A777CF #C4A4DF

Accessibility & contrast

On white

5.51
#8A4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8A4ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4ABF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4ABF#FFFFFF#000000##FFFFFF
##8A4ABF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#81617E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4abf;
/* rgb */ color: rgb(138, 74, 191);
/* oklch */ color: oklch(54.1% 0.180 306.5);
Tailwind
colors: {
  custom: {
    50: '#b080d3',
    500: '#8a4abf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4abf;
$custom-light: #b080d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4abf",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 272.821,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.17977,
    "h": 306.5
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#8A4ABF
secondary
#B0CC99
accent
#D7508E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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