#8B4EE9#8B4EE9

#8B4EE9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.222 H 296.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8B4EE9
RGBrgb(139, 78, 233)
HSLhsl(264, 78%, 61%)
HSVhsv(264, 67%, 91%)
CMYKcmyk(40.3%, 66.5%, 0%, 8.6%)
CIE-LABlab(48.03, 56.99, -69.19)
CIE-LCHlch(48.03, 89.64, 309.48°)
OKLaboklab(57.69% 0.1003 -0.1975)
OKLCHoklch(57.69% 0.222 296.9)
XYZxyz(28.0760, 16.8204, 78.8424)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EE9 #ACE94E
analogous
#4E5EE9 #8B4EE9 #D84EE9
triadic
#8B4EE9 #E98B4E #4EE98B
tetradic
#8B4EE9 #E94E5E #ACE94E #4EE9D8
square
#8B4EE9 #E94E5E #ACE94E #4EE9D8
split-complementary
#8B4EE9 #E9D84E #5EE94E
monochromatic
#4F15A8 #681CDE #8B4EE9 #AF84F0 #D2BBF7

Accessibility & contrast

On white

4.81
#8B4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8B4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4EE9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EE9#FFFFFF#000000##FFFFFF
##8B4EE91.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#737395
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b4ee9;
/* rgb */ color: rgb(139, 78, 233);
/* oklch */ color: oklch(57.7% 0.222 296.9);
Tailwind
colors: {
  custom: {
    50: '#b383f1',
    500: '#8b4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ee9;
$custom-light: #b383f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ee9",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 263.613,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57695,
    "c": 0.22154,
    "h": 296.9
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#8B4EE9
secondary
#D0E7AC
accent
#DA0B89
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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