#8B3FD8#8B3FD8

#8B3FD8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.221 H 302.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B3FD8
RGBrgb(139, 63, 216)
HSLhsl(270, 66%, 55%)
HSVhsv(270, 71%, 85%)
CMYKcmyk(35.6%, 70.8%, 0%, 15.3%)
CIE-LABlab(44.24, 59.94, -65.70)
CIE-LCHlch(44.24, 88.94, 312.37°)
OKLaboklab(54.6% 0.1178 -0.1872)
OKLCHoklch(54.6% 0.221 302.2)
XYZxyz(24.8167, 14.0018, 66.3476)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FD8 #8CD83F
analogous
#3F40D8 #8B3FD8 #D83FD8
triadic
#8B3FD8 #D88B3F #3FD88B
tetradic
#8B3FD8 #D83F40 #8CD83F #3FD8D8
square
#8B3FD8 #D83F40 #8CD83F #3FD8D8
split-complementary
#8B3FD8 #D8D83F #40D83F
monochromatic
#4E1A82 #6C25B5 #8B3FD8 #AA72E2 #C8A5ED

Accessibility & contrast

On white

5.53
#8B3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8B3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FD8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FD8#FFFFFF#000000##FFFFFF
##8B3FD81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#7B6488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b3fd8;
/* rgb */ color: rgb(139, 63, 216);
/* oklch */ color: oklch(54.6% 0.221 302.2);
Tailwind
colors: {
  custom: {
    50: '#b37ae5',
    500: '#8b3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fd8;
$custom-light: #b37ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fd8",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 269.804,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.22118,
    "h": 302.2
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#8B3FD8
secondary
#BADA99
accent
#E93F94
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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