#8B3EAF#8B3EAF

#8B3EAF is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.180 H 313.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8B3EAF
RGBrgb(139, 62, 175)
HSLhsl(281, 48%, 46%)
HSVhsv(281, 65%, 69%)
CMYKcmyk(20.6%, 64.6%, 0%, 31.4%)
CIE-LABlab(41.26, 51.10, -46.64)
CIE-LCHlch(41.26, 69.18, 317.61°)
OKLaboklab(51.58% 0.1234 -0.1312)
OKLCHoklch(51.58% 0.18 313.2)
XYZxyz(20.1066, 12.0299, 41.8120)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EAF #62AF3E
analogous
#533EAF #8B3EAF #AF3E9B
triadic
#8B3EAF #AF8B3E #3EAF8B
tetradic
#8B3EAF #AF533E #62AF3E #3E9BAF
square
#8B3EAF #AF533E #62AF3E #3E9BAF
split-complementary
#8B3EAF #9BAF3E #3EAF53
monochromatic
#431E55 #672E82 #8B3EAF #A763C8 #C190D8

Accessibility & contrast

On white

6.17
#8B3EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B3EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EAF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EAF#FFFFFF#000000##FFFFFF
##8B3EAF1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075DB2
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#875471
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3eaf;
/* rgb */ color: rgb(139, 62, 175);
/* oklch */ color: oklch(51.6% 0.180 313.2);
Tailwind
colors: {
  custom: {
    50: '#b078c7',
    500: '#8b3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8b3eaf;
$custom-light: #b078c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3eaf",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 280.885,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.18011,
    "h": 313.2
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#8B3EAF
secondary
#99C386
accent
#D7517B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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