#8A4EBF#8A4EBF

#8A4EBF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.174 H 305.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A4EBF
RGBrgb(138, 78, 191)
HSLhsl(272, 47%, 53%)
HSVhsv(272, 59%, 75%)
CMYKcmyk(27.7%, 59.2%, 0%, 25.1%)
CIE-LABlab(45.10, 46.43, -49.88)
CIE-LCHlch(45.10, 68.15, 312.95°)
OKLaboklab(54.65% 0.102 -0.1408)
OKLCHoklch(54.65% 0.174 305.9)
XYZxyz(22.6076, 14.6138, 50.9099)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4EBF #83BF4E
analogous
#514EBF #8A4EBF #BF4EBC
triadic
#8A4EBF #BF8A4E #4EBF8A
tetradic
#8A4EBF #BF514E #83BF4E #4EBCBF
square
#8A4EBF #BF514E #83BF4E #4EBCBF
split-complementary
#8A4EBF #BCBF4E #4EBF51
monochromatic
#4B276C #6B3799 #8A4EBF #A87BCF #C5A8E0

Accessibility & contrast

On white

5.35
#8A4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A4EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4EBF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4EBF#FFFFFF#000000##FFFFFF
##8A4EBF1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#81647F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4ebf;
/* rgb */ color: rgb(138, 78, 191);
/* oklch */ color: oklch(54.7% 0.174 305.9);
Tailwind
colors: {
  custom: {
    50: '#af82d3',
    500: '#8a4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ebf;
$custom-light: #af82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ebf",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 271.858,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.1739,
    "h": 305.9
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#8A4EBF
secondary
#B3CD9C
accent
#D75190
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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