#8B3FC4#8B3FC4

#8B3FC4 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.200 H 307.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8B3FC4
RGBrgb(139, 63, 196)
HSLhsl(274, 53%, 51%)
HSVhsv(274, 68%, 77%)
CMYKcmyk(29.1%, 67.9%, 0%, 23.1%)
CIE-LABlab(42.81, 55.30, -56.48)
CIE-LCHlch(42.81, 79.04, 314.40°)
OKLaboklab(53.13% 0.1207 -0.1601)
OKLCHoklch(53.13% 0.2 307)
XYZxyz(22.3867, 13.0298, 53.5495)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FC4 #78C43F
analogous
#483FC4 #8B3FC4 #C43FBA
triadic
#8B3FC4 #C48B3F #3FC48B
tetradic
#8B3FC4 #C4483F #78C43F #3FBAC4
square
#8B3FC4 #C4483F #78C43F #3FBAC4
split-complementary
#8B3FC4 #BAC43F #3FC448
monochromatic
#492068 #6A2E97 #8B3FC4 #A76ED2 #C49DE1

Accessibility & contrast

On white

5.82
#8B3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8B3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FC4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FC4#FFFFFF#000000##FFFFFF
##8B3FC41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#1C66C1
Tritanopia (blue-blind)
#825C7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3fc4;
/* rgb */ color: rgb(139, 63, 196);
/* oklch */ color: oklch(53.1% 0.200 307.0);
Tailwind
colors: {
  custom: {
    50: '#b17ad7',
    500: '#8b3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fc4;
$custom-light: #b17ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fc4",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 274.286,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.20046,
    "h": 307
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#8B3FC4
secondary
#ABCD92
accent
#DC4B8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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