#8B4FDE#8B4FDE

#8B4FDE is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.208 H 298.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8B4FDE
RGBrgb(139, 79, 222)
HSLhsl(265, 68%, 59%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.4%, 64.4%, 0%, 12.9%)
CIE-LABlab(47.44, 53.72, -63.93)
CIE-LCHlch(47.44, 83.51, 310.04°)
OKLaboklab(57.02% 0.1006 -0.1821)
OKLCHoklch(57.02% 0.208 298.9)
XYZxyz(26.6250, 16.3545, 70.8471)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FDE #A2DE4F
analogous
#4F5BDE #8B4FDE #D34FDE
triadic
#8B4FDE #DE8B4F #4FDE8B
tetradic
#8B4FDE #DE4F5B #A2DE4F #4FDED3
square
#8B4FDE #DE4F5B #A2DE4F #4FDED3
split-complementary
#8B4FDE #DED34F #5BDE4F
monochromatic
#4F1C96 #6B26CA #8B4FDE #AD83E8 #CFB6F1

Accessibility & contrast

On white

4.92
#8B4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8B4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FDE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FDE#FFFFFF#000000##FFFFFF
##8B4FDE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#786F90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4fde;
/* rgb */ color: rgb(139, 79, 222);
/* oklch */ color: oklch(57.0% 0.208 298.9);
Tailwind
colors: {
  custom: {
    50: '#b284e9',
    500: '#8b4fde',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fde;
$custom-light: #b284e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fde",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 265.175,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.20798,
    "h": 298.9
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#8B4FDE
secondary
#C9E0A8
accent
#EB3DA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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