#8B4FE9#8B4FE9

#8B4FE9 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.220 H 296.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B4FE9
RGBrgb(139, 79, 233)
HSLhsl(263, 78%, 61%)
HSVhsv(263, 66%, 91%)
CMYKcmyk(40.3%, 66.1%, 0%, 8.6%)
CIE-LABlab(48.21, 56.49, -68.90)
CIE-LCHlch(48.21, 89.10, 309.35°)
OKLaboklab(57.83% 0.0993 -0.1967)
OKLCHoklch(57.83% 0.22 296.8)
XYZxyz(28.1476, 16.9636, 78.8663)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FE9 #ADE94F
analogous
#4F60E9 #8B4FE9 #D84FE9
triadic
#8B4FE9 #E98B4F #4FE98B
tetradic
#8B4FE9 #E94F60 #ADE94F #4FE9D8
square
#8B4FE9 #E94F60 #ADE94F #4FE9D8
split-complementary
#8B4FE9 #E9D84F #60E94F
monochromatic
#4F15A9 #681CDF #8B4FE9 #AF85F0 #D3BCF7

Accessibility & contrast

On white

4.78
#8B4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8B4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FE9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FE9#FFFFFF#000000##FFFFFF
##8B4FE91.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#737396
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b4fe9;
/* rgb */ color: rgb(139, 79, 233);
/* oklch */ color: oklch(57.8% 0.220 296.8);
Tailwind
colors: {
  custom: {
    50: '#b384f1',
    500: '#8b4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fe9;
$custom-light: #b384f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fe9",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 263.377,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.22031,
    "h": 296.8
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#8B4FE9
secondary
#D0E7AD
accent
#DA0B8A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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