#8B4FE3#8B4FE3

#8B4FE3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.214 H 297.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B4FE3
RGBrgb(139, 79, 227)
HSLhsl(264, 73%, 60%)
HSVhsv(264, 65%, 89%)
CMYKcmyk(38.8%, 65.2%, 0%, 11%)
CIE-LABlab(47.79, 54.98, -66.20)
CIE-LCHlch(47.79, 86.06, 309.71°)
OKLaboklab(57.38% 0.1 -0.1887)
OKLCHoklch(57.38% 0.214 297.9)
XYZxyz(27.3050, 16.6266, 74.4288)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FE3 #A7E34F
analogous
#4F5DE3 #8B4FE3 #D54FE3
triadic
#8B4FE3 #E38B4F #4FE38B
tetradic
#8B4FE3 #E34F5D #A7E34F #4FE3D5
square
#8B4FE3 #E34F5D #A7E34F #4FE3D5
split-complementary
#8B4FE3 #E3D54F #5DE34F
monochromatic
#4F199E #6A22D3 #8B4FE3 #AE84EB #D1B9F4

Accessibility & contrast

On white

4.86
#8B4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8B4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FE3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FE3#FFFFFF#000000##FFFFFF
##8B4FE31.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#767192
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b4fe3;
/* rgb */ color: rgb(139, 79, 227);
/* oklch */ color: oklch(57.4% 0.214 297.9);
Tailwind
colors: {
  custom: {
    50: '#b384ed',
    500: '#8b4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fe3;
$custom-light: #b384ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fe3",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 264.324,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.21361,
    "h": 297.9
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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