#8B3EB7#8B3EB7

#8B3EB7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.188 H 310.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8B3EB7
RGBrgb(139, 62, 183)
HSLhsl(278, 49%, 48%)
HSVhsv(278, 66%, 72%)
CMYKcmyk(24%, 66.1%, 0%, 28.2%)
CIE-LABlab(41.77, 52.85, -50.54)
CIE-LCHlch(41.77, 73.12, 316.28°)
OKLaboklab(52.11% 0.123 -0.1426)
OKLCHoklch(52.11% 0.188 310.8)
XYZxyz(20.9157, 12.3536, 46.0732)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EB7 #6AB73E
analogous
#4E3EB7 #8B3EB7 #B73EA6
triadic
#8B3EB7 #B78B3E #3EB78B
tetradic
#8B3EB7 #B74E3E #6AB73E #3EA6B7
square
#8B3EB7 #B74E3E #6AB73E #3EA6B7
split-complementary
#8B3EB7 #A6B73E #3EB74E
monochromatic
#461F5C #682F89 #8B3EB7 #A767CB #C194DB

Accessibility & contrast

On white

6.05
#8B3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8B3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EB7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EB7#FFFFFF#000000##FFFFFF
##8B3EB71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#2F64B4
Tritanopia (blue-blind)
#855775
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3eb7;
/* rgb */ color: rgb(139, 62, 183);
/* oklch */ color: oklch(52.1% 0.188 310.8);
Tailwind
colors: {
  custom: {
    50: '#b179cd',
    500: '#8b3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #8b3eb7;
$custom-light: #b179cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3eb7",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 278.182,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.18834,
    "h": 310.8
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#8B3EB7
secondary
#A0C68A
accent
#D94F81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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