#8B4FC8#8B4FC8

#8B4FC8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.183 H 303.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8B4FC8
RGBrgb(139, 79, 200)
HSLhsl(270, 52%, 55%)
HSVhsv(270, 61%, 78%)
CMYKcmyk(30.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(45.98, 48.30, -53.69)
CIE-LCHlch(45.98, 72.22, 311.98°)
OKLaboklab(55.5% 0.102 -0.1519)
OKLCHoklch(55.5% 0.183 303.9)
XYZxyz(23.8664, 15.2511, 56.3188)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FC8 #8CC84F
analogous
#4F50C8 #8B4FC8 #C84FC8
triadic
#8B4FC8 #C88B4F #4FC88B
tetradic
#8B4FC8 #C84F50 #8CC84F #4FC8C8
square
#8B4FC8 #C84F50 #8CC84F #4FC8C8
split-complementary
#8B4FC8 #C8C84F #50C84F
monochromatic
#4E2577 #6C34A6 #8B4FC8 #AA7ED7 #C8ACE5

Accessibility & contrast

On white

5.18
#8B4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8B4FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FC8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FC8#FFFFFF#000000##FFFFFF
##8B4FC81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6BCC
Deuteranopia (green-blind)
#316DC5
Tritanopia (blue-blind)
#806884
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4fc8;
/* rgb */ color: rgb(139, 79, 200);
/* oklch */ color: oklch(55.5% 0.183 303.9);
Tailwind
colors: {
  custom: {
    50: '#b183d9',
    500: '#8b4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fc8;
$custom-light: #b183d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fc8",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 269.752,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.18299,
    "h": 303.9
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#8B4FC8
secondary
#BAD3A0
accent
#DC4C94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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