#8B3FD4#8B3FD4

#8B3FD4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.217 H 303.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8B3FD4
RGBrgb(139, 63, 212)
HSLhsl(271, 63%, 54%)
HSVhsv(271, 70%, 83%)
CMYKcmyk(34.4%, 70.3%, 0%, 16.9%)
CIE-LABlab(43.94, 59.00, -63.89)
CIE-LCHlch(43.94, 86.96, 312.72°)
OKLaboklab(54.29% 0.1185 -0.1819)
OKLCHoklch(54.29% 0.217 303.1)
XYZxyz(24.3059, 13.7974, 63.6573)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FD4 #88D43F
analogous
#413FD4 #8B3FD4 #D43FD3
triadic
#8B3FD4 #D48B3F #3FD48B
tetradic
#8B3FD4 #D4413F #88D43F #3FD3D4
square
#8B3FD4 #D4413F #88D43F #3FD3D4
split-complementary
#8B3FD4 #D3D43F #3FD441
monochromatic
#4D1C7D #6C27AF #8B3FD4 #A971DF #C7A3EA

Accessibility & contrast

On white

5.59
#8B3FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8B3FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FD4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FD4#FFFFFF#000000##FFFFFF
##8B3FD41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#7C6285
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3fd4;
/* rgb */ color: rgb(139, 63, 212);
/* oklch */ color: oklch(54.3% 0.217 303.1);
Tailwind
colors: {
  custom: {
    50: '#b37ae2',
    500: '#8b3fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fd4;
$custom-light: #b37ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fd4",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 270.604,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54293,
    "c": 0.21705,
    "h": 303.1
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#8B3FD4
secondary
#B7D798
accent
#E64192
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8B3FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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