#8B4BE4#8B4BE4

#8B4BE4 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.220 H 298.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8B4BE4
RGBrgb(139, 75, 228)
HSLhsl(265, 74%, 59%)
HSVhsv(265, 67%, 89%)
CMYKcmyk(39%, 67.1%, 0%, 10.6%)
CIE-LABlab(47.13, 57.22, -67.83)
CIE-LCHlch(47.13, 88.74, 310.15°)
OKLaboklab(56.94% 0.104 -0.1935)
OKLCHoklch(56.94% 0.22 298.3)
XYZxyz(27.1636, 16.1222, 75.0645)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BE4 #A4E44B
analogous
#4B58E4 #8B4BE4 #D84BE4
triadic
#8B4BE4 #E48B4B #4BE48B
tetradic
#8B4BE4 #E44B58 #A4E44B #4BE4D8
square
#8B4BE4 #E44B58 #A4E44B #4BE4D8
split-complementary
#8B4BE4 #E4D84B #58E44B
monochromatic
#4F189D #6A20D2 #8B4BE4 #AD80EC #D0B5F4

Accessibility & contrast

On white

4.97
#8B4BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8B4BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BE4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BE4#FFFFFF#000000##FFFFFF
##8B4BE41.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#766F92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4be4;
/* rgb */ color: rgb(139, 75, 228);
/* oklch */ color: oklch(56.9% 0.220 298.3);
Tailwind
colors: {
  custom: {
    50: '#b381ed',
    500: '#8b4be4',
    950: '#000000',
  },
}
SCSS
$custom: #8b4be4;
$custom-light: #b381ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4be4",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 265.098,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.2197,
    "h": 298.3
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#8B4BE4
secondary
#CAE3A8
accent
#F137A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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