#8B4DE7#8B4DE7

#8B4DE7 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.221 H 297.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8B4DE7
RGBrgb(139, 77, 231)
HSLhsl(264, 76%, 60%)
HSVhsv(264, 67%, 91%)
CMYKcmyk(39.8%, 66.7%, 0%, 9.4%)
CIE-LABlab(47.71, 56.98, -68.59)
CIE-LCHlch(47.71, 89.17, 309.72°)
OKLaboklab(57.42% 0.1016 -0.1957)
OKLCHoklch(57.42% 0.221 297.4)
XYZxyz(27.7214, 16.5658, 77.3228)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DE7 #A9E74D
analogous
#4D5CE7 #8B4DE7 #D84DE7
triadic
#8B4DE7 #E78B4D #4DE78B
tetradic
#8B4DE7 #E74D5C #A9E74D #4DE7D8
square
#8B4DE7 #E74D5C #A9E74D #4DE7D8
split-complementary
#8B4DE7 #E7D84D #5CE74D
monochromatic
#4F16A4 #691DD9 #8B4DE7 #AE83EE #D1B9F6

Accessibility & contrast

On white

4.87
#8B4DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8B4DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DE7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DE7#FFFFFF#000000##FFFFFF
##8B4DE71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#747294
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b4de7;
/* rgb */ color: rgb(139, 77, 231);
/* oklch */ color: oklch(57.4% 0.221 297.4);
Tailwind
colors: {
  custom: {
    50: '#b383f0',
    500: '#8b4de7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4de7;
$custom-light: #b383f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4de7",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 264.156,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.22055,
    "h": 297.4
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#8B4DE7
secondary
#CEE5AA
accent
#D80D87
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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