#8B4FA2#8B4FA2

#8B4FA2 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.2% C 0.140 H 315.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8B4FA2
RGBrgb(139, 79, 162)
HSLhsl(283, 34%, 47%)
HSVhsv(283, 51%, 64%)
CMYKcmyk(14.2%, 51.2%, 0%, 36.5%)
CIE-LABlab(43.79, 39.52, -34.92)
CIE-LCHlch(43.79, 52.74, 318.54°)
OKLaboklab(53.18% 0.1003 -0.0971)
OKLCHoklch(53.18% 0.14 315.9)
XYZxyz(19.9640, 13.6902, 35.7662)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FA2 #66A24F
analogous
#614FA2 #8B4FA2 #A24F90
triadic
#8B4FA2 #A28B4F #4FA28B
tetradic
#8B4FA2 #A2614F #66A24F #4F90A2
square
#8B4FA2 #A2614F #66A24F #4F90A2
split-complementary
#8B4FA2 #90A24F #4FA261
monochromatic
#442750 #683B79 #8B4FA2 #A773BB #C19CCF

Accessibility & contrast

On white

5.62
#8B4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8B4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FA2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FA2#FFFFFF#000000##FFFFFF
##8B4FA21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#5069A0
Tritanopia (blue-blind)
#8A5C71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b4fa2;
/* rgb */ color: rgb(139, 79, 162);
/* oklch */ color: oklch(53.2% 0.140 315.9);
Tailwind
colors: {
  custom: {
    50: '#af82be',
    500: '#8b4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fa2;
$custom-light: #af82be;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fa2",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 283.373,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.13962,
    "h": 315.9
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#8B4FA2
secondary
#9DBC91
accent
#CB5D7C
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8B4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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