#8B4EE3#8B4EE3

#8B4EE3 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.215 H 298.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8B4EE3
RGBrgb(139, 78, 227)
HSLhsl(265, 73%, 60%)
HSVhsv(265, 66%, 89%)
CMYKcmyk(38.8%, 65.6%, 0%, 11%)
CIE-LABlab(47.60, 55.48, -66.50)
CIE-LCHlch(47.60, 86.61, 309.84°)
OKLaboklab(57.25% 0.1011 -0.1896)
OKLCHoklch(57.25% 0.215 298.1)
XYZxyz(27.2335, 16.4834, 74.4050)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EE3 #A6E34E
analogous
#4E5BE3 #8B4EE3 #D64EE3
triadic
#8B4EE3 #E38B4E #4EE38B
tetradic
#8B4EE3 #E34E5B #A6E34E #4EE3D6
square
#8B4EE3 #E34E5B #A6E34E #4EE3D6
split-complementary
#8B4EE3 #E3D64E #5BE34E
monochromatic
#4F199E #6A21D3 #8B4EE3 #AE83EB #D0B8F4

Accessibility & contrast

On white

4.89
#8B4EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8B4EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4EE3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EE3#FFFFFF#000000##FFFFFF
##8B4EE31.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#767192
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b4ee3;
/* rgb */ color: rgb(139, 78, 227);
/* oklch */ color: oklch(57.3% 0.215 298.1);
Tailwind
colors: {
  custom: {
    50: '#b383ed',
    500: '#8b4ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ee3;
$custom-light: #b383ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ee3",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 264.564,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.21487,
    "h": 298.1
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#8B4EE3
secondary
#CCE3AA
accent
#EF38A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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