#8B4FC7#8B4FC7

#8B4FC7 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.182 H 304.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8B4FC7
RGBrgb(139, 79, 199)
HSLhsl(270, 52%, 55%)
HSVhsv(270, 60%, 78%)
CMYKcmyk(30.2%, 60.3%, 0%, 22%)
CIE-LABlab(45.91, 48.06, -53.21)
CIE-LCHlch(45.91, 71.70, 312.09°)
OKLaboklab(55.43% 0.102 -0.1505)
OKLCHoklch(55.43% 0.182 304.1)
XYZxyz(23.7499, 15.2045, 55.7053)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FC7 #8BC74F
analogous
#4F4FC7 #8B4FC7 #C74FC7
triadic
#8B4FC7 #C78B4F #4FC78B
tetradic
#8B4FC7 #C74F4F #8BC74F #4FC7C7
square
#8B4FC7 #C74F4F #8BC74F #4FC7C7
split-complementary
#8B4FC7 #C7C74F #4FC74F
monochromatic
#4E2676 #6C34A4 #8B4FC7 #AA7DD6 #C8ACE5

Accessibility & contrast

On white

5.20
#8B4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8B4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FC7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FC7#FFFFFF#000000##FFFFFF
##8B4FC71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6BCB
Deuteranopia (green-blind)
#326DC4
Tritanopia (blue-blind)
#806783
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4fc7;
/* rgb */ color: rgb(139, 79, 199);
/* oklch */ color: oklch(55.4% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#b183d9',
    500: '#8b4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fc7;
$custom-light: #b183d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fc7",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 270,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.18184,
    "h": 304.1
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#8B4FC7
secondary
#B9D2A0
accent
#DB4D94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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