#8B4FD5#8B4FD5

#8B4FD5 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.198 H 300.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8B4FD5
RGBrgb(139, 79, 213)
HSLhsl(267, 61%, 57%)
HSVhsv(267, 63%, 84%)
CMYKcmyk(34.7%, 62.9%, 0%, 16.5%)
CIE-LABlab(46.82, 51.48, -59.80)
CIE-LCHlch(46.82, 78.91, 310.73°)
OKLaboklab(56.38% 0.1013 -0.1699)
OKLCHoklch(56.38% 0.198 300.8)
XYZxyz(25.4508, 15.8849, 64.6631)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FD5 #99D54F
analogous
#4F56D5 #8B4FD5 #CE4FD5
triadic
#8B4FD5 #D58B4F #4FD58B
tetradic
#8B4FD5 #D54F56 #99D54F #4FD5CE
square
#8B4FD5 #D54F56 #99D54F #4FD5CE
split-complementary
#8B4FD5 #D5CE4F #56D54F
monochromatic
#4F2189 #6C2CBA #8B4FD5 #AC80E1 #CCB2ED

Accessibility & contrast

On white

5.03
#8B4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8B4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FD5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FD5#FFFFFF#000000##FFFFFF
##8B4FD51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#1A6ED2
Tritanopia (blue-blind)
#7B6C8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4fd5;
/* rgb */ color: rgb(139, 79, 213);
/* oklch */ color: oklch(56.4% 0.198 300.8);
Tailwind
colors: {
  custom: {
    50: '#b283e3',
    500: '#8b4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fd5;
$custom-light: #b283e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fd5",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 266.866,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.1978,
    "h": 300.8
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#8B4FD5
secondary
#C3DBA5
accent
#E5439C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8B4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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