#8B3EE3#8B3EE3

#8B3EE3 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.234 H 300.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8B3EE3
RGBrgb(139, 62, 227)
HSLhsl(268, 75%, 57%)
HSVhsv(268, 73%, 89%)
CMYKcmyk(38.8%, 72.7%, 0%, 11%)
CIE-LABlab(44.91, 62.98, -70.87)
CIE-LCHlch(44.91, 94.81, 311.62°)
OKLaboklab(55.34% 0.1166 -0.2024)
OKLCHoklch(55.34% 0.234 300)
XYZxyz(26.2318, 14.4800, 74.0711)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3EE3 #96E33E
analogous
#3E44E3 #8B3EE3 #DE3EE3
triadic
#8B3EE3 #E38B3E #3EE38B
tetradic
#8B3EE3 #E33E44 #96E33E #3EE3DE
square
#8B3EE3 #E33E44 #96E33E #3EE3DE
split-complementary
#8B3EE3 #E3DE3E #44E33E
monochromatic
#4F1591 #6C1DC7 #8B3EE3 #AB73EB #CBA9F3

Accessibility & contrast

On white

5.39
#8B3EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8B3EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3EE3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3EE3#FFFFFF#000000##FFFFFF
##8B3EE31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#77688D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b3ee3;
/* rgb */ color: rgb(139, 62, 227);
/* oklch */ color: oklch(55.3% 0.234 300.0);
Tailwind
colors: {
  custom: {
    50: '#b47aed',
    500: '#8b3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ee3;
$custom-light: #b47aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ee3",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 268,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.23358,
    "h": 300
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#8B3EE3
secondary
#C1E09D
accent
#F1379A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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