#8B3ED3#8B3ED3

#8B3ED3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.217 H 303.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8B3ED3
RGBrgb(139, 62, 211)
HSLhsl(271, 63%, 54%)
HSVhsv(271, 71%, 83%)
CMYKcmyk(34.1%, 70.6%, 0%, 17.3%)
CIE-LABlab(43.71, 59.21, -63.69)
CIE-LCHlch(43.71, 86.96, 312.91°)
OKLaboklab(54.11% 0.1196 -0.1813)
OKLCHoklch(54.11% 0.217 303.4)
XYZxyz(24.1252, 13.6374, 62.9767)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ED3 #86D33E
analogous
#403ED3 #8B3ED3 #D33ED0
triadic
#8B3ED3 #D38B3E #3ED38B
tetradic
#8B3ED3 #D3403E #86D33E #3ED0D3
square
#8B3ED3 #D3403E #86D33E #3ED0D3
split-complementary
#8B3ED3 #D0D33E #3ED340
monochromatic
#4D1C7B #6C27AC #8B3ED3 #A970DE #C7A2EA

Accessibility & contrast

On white

5.63
#8B3ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8B3ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ED3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ED3#FFFFFF#000000##FFFFFF
##8B3ED31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#7D6184
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b3ed3;
/* rgb */ color: rgb(139, 62, 211);
/* oklch */ color: oklch(54.1% 0.217 303.4);
Tailwind
colors: {
  custom: {
    50: '#b27ae1',
    500: '#8b3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ed3;
$custom-light: #b27ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ed3",
  "rgb": {
    "r": 139,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 271.007,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.21719,
    "h": 303.4
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#8B3ED3
secondary
#B5D696
accent
#E64291
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8B3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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