#8B4FD8#8B4FD8

#8B4FD8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.201 H 300.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8B4FD8
RGBrgb(139, 79, 216)
HSLhsl(266, 64%, 58%)
HSVhsv(266, 63%, 85%)
CMYKcmyk(35.6%, 63.4%, 0%, 15.3%)
CIE-LABlab(47.03, 52.23, -61.18)
CIE-LCHlch(47.03, 80.44, 310.49°)
OKLaboklab(56.59% 0.1011 -0.174)
OKLCHoklch(56.59% 0.201 300.2)
XYZxyz(25.8351, 16.0386, 66.6871)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FD8 #9CD84F
analogous
#4F58D8 #8B4FD8 #CF4FD8
triadic
#8B4FD8 #D88B4F #4FD88B
tetradic
#8B4FD8 #D84F58 #9CD84F #4FD8CF
square
#8B4FD8 #D84F58 #9CD84F #4FD8CF
split-complementary
#8B4FD8 #D8CF4F #58D84F
monochromatic
#4F1F8D #6C2ABF #8B4FD8 #AC81E3 #CDB3EE

Accessibility & contrast

On white

4.99
#8B4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8B4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FD8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FD8#FFFFFF#000000##FFFFFF
##8B4FD81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#116FD5
Tritanopia (blue-blind)
#7A6D8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4fd8;
/* rgb */ color: rgb(139, 79, 216);
/* oklch */ color: oklch(56.6% 0.201 300.2);
Tailwind
colors: {
  custom: {
    50: '#b284e5',
    500: '#8b4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fd8;
$custom-light: #b284e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fd8",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 266.277,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56593,
    "c": 0.2012,
    "h": 300.2
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#8B4FD8
secondary
#C5DDA6
accent
#E7419E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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