#8B4FDD#8B4FDD

#8B4FDD is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.207 H 299.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8B4FDD
RGBrgb(139, 79, 221)
HSLhsl(265, 68%, 59%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.1%, 64.3%, 0%, 13.3%)
CIE-LABlab(47.37, 53.47, -63.48)
CIE-LCHlch(47.37, 83.00, 310.11°)
OKLaboklab(56.95% 0.1007 -0.1807)
OKLCHoklch(56.95% 0.207 299.1)
XYZxyz(26.4913, 16.3011, 70.1433)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FDD #A1DD4F
analogous
#4F5ADD #8B4FDD #D24FDD
triadic
#8B4FDD #DD8B4F #4FDD8B
tetradic
#8B4FDD #DD4F5A #A1DD4F #4FDDD2
square
#8B4FDD #DD4F5A #A1DD4F #4FDDD2
split-complementary
#8B4FDD #DDD24F #5ADD4F
monochromatic
#4F1D95 #6B27C8 #8B4FDD #AD82E7 #CFB6F1

Accessibility & contrast

On white

4.93
#8B4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8B4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FDD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FDD#FFFFFF#000000##FFFFFF
##8B4FDD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#786F8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4fdd;
/* rgb */ color: rgb(139, 79, 221);
/* oklch */ color: oklch(56.9% 0.207 299.1);
Tailwind
colors: {
  custom: {
    50: '#b284e8',
    500: '#8b4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fdd;
$custom-light: #b284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fdd",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 265.352,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.20686,
    "h": 299.1
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#8B4FDD
secondary
#C8E0A8
accent
#EA3DA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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