#8B4FD7#8B4FD7

#8B4FD7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.200 H 300.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8B4FD7
RGBrgb(139, 79, 215)
HSLhsl(266, 63%, 58%)
HSVhsv(266, 63%, 84%)
CMYKcmyk(35.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(46.96, 51.98, -60.72)
CIE-LCHlch(46.96, 79.93, 310.56°)
OKLaboklab(56.52% 0.1012 -0.1726)
OKLCHoklch(56.52% 0.2 300.4)
XYZxyz(25.7062, 15.9870, 66.0083)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FD7 #9BD74F
analogous
#4F57D7 #8B4FD7 #CF4FD7
triadic
#8B4FD7 #D78B4F #4FD78B
tetradic
#8B4FD7 #D74F57 #9BD74F #4FD7CF
square
#8B4FD7 #D74F57 #9BD74F #4FD7CF
split-complementary
#8B4FD7 #D7CF4F #57D74F
monochromatic
#4F208C #6C2BBE #8B4FD7 #AC81E2 #CDB3EE

Accessibility & contrast

On white

5.00
#8B4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8B4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FD7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FD7#FFFFFF#000000##FFFFFF
##8B4FD71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#146ED4
Tritanopia (blue-blind)
#7B6D8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4fd7;
/* rgb */ color: rgb(139, 79, 215);
/* oklch */ color: oklch(56.5% 0.200 300.4);
Tailwind
colors: {
  custom: {
    50: '#b284e4',
    500: '#8b4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fd7;
$custom-light: #b284e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fd7",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 266.471,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.20007,
    "h": 300.4
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#8B4FD7
secondary
#C4DCA6
accent
#E6429E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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