#8B4ED4#8B4ED4

#8B4ED4 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.198 H 301.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8B4ED4
RGBrgb(139, 78, 212)
HSLhsl(267, 61%, 57%)
HSVhsv(267, 63%, 83%)
CMYKcmyk(34.4%, 63.2%, 0%, 16.9%)
CIE-LABlab(46.57, 51.75, -59.64)
CIE-LCHlch(46.57, 78.96, 310.95°)
OKLaboklab(56.18% 0.1025 -0.1694)
OKLCHoklch(56.18% 0.198 301.2)
XYZxyz(25.2527, 15.6911, 63.9729)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ED4 #97D44E
analogous
#4E54D4 #8B4ED4 #CE4ED4
triadic
#8B4ED4 #D48B4E #4ED48B
tetradic
#8B4ED4 #D44E54 #97D44E #4ED4CE
square
#8B4ED4 #D44E54 #97D44E #4ED4CE
split-complementary
#8B4ED4 #D4CE4E #54D44E
monochromatic
#4F2187 #6C2DB8 #8B4ED4 #AB7FE0 #CCB0EC

Accessibility & contrast

On white

5.07
#8B4ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8B4ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ED4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ED4#FFFFFF#000000##FFFFFF
##8B4ED41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#1A6ED1
Tritanopia (blue-blind)
#7C6B8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4ed4;
/* rgb */ color: rgb(139, 78, 212);
/* oklch */ color: oklch(56.2% 0.198 301.2);
Tailwind
colors: {
  custom: {
    50: '#b283e2',
    500: '#8b4ed4',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ed4;
$custom-light: #b283e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ed4",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 267.313,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.19802,
    "h": 301.2
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#8B4ED4
secondary
#C1DAA4
accent
#E4449B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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