#8B4FD1#8B4FD1

#8B4FD1 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.193 H 301.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8B4FD1
RGBrgb(139, 79, 209)
HSLhsl(268, 59%, 56%)
HSVhsv(268, 62%, 82%)
CMYKcmyk(33.5%, 62.2%, 0%, 18%)
CIE-LABlab(46.56, 50.50, -57.93)
CIE-LCHlch(46.56, 76.85, 311.08°)
OKLaboklab(56.11% 0.1016 -0.1644)
OKLCHoklch(56.11% 0.193 301.7)
XYZxyz(24.9494, 15.6843, 62.0222)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FD1 #95D14F
analogous
#4F54D1 #8B4FD1 #CC4FD1
triadic
#8B4FD1 #D18B4F #4FD18B
tetradic
#8B4FD1 #D14F54 #95D14F #4FD1CC
square
#8B4FD1 #D14F54 #95D14F #4FD1CC
split-complementary
#8B4FD1 #D1CC4F #54D14F
monochromatic
#4F2283 #6C2FB4 #8B4FD1 #AB80DE #CBB0EA

Accessibility & contrast

On white

5.08
#8B4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8B4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FD1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FD1#FFFFFF#000000##FFFFFF
##8B4FD11.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#236ECE
Tritanopia (blue-blind)
#7D6B89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4fd1;
/* rgb */ color: rgb(139, 79, 209);
/* oklch */ color: oklch(56.1% 0.193 301.7);
Tailwind
colors: {
  custom: {
    50: '#b183e0',
    500: '#8b4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fd1;
$custom-light: #b183e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fd1",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 267.692,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.19326,
    "h": 301.7
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#8B4FD1
secondary
#C0D9A3
accent
#E2469A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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