#8B4FE8#8B4FE8

#8B4FE8 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.219 H 297.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8B4FE8
RGBrgb(139, 79, 232)
HSLhsl(264, 77%, 61%)
HSVhsv(264, 66%, 91%)
CMYKcmyk(40.1%, 65.9%, 0%, 9%)
CIE-LABlab(48.14, 56.24, -68.45)
CIE-LCHlch(48.14, 88.59, 309.41°)
OKLaboklab(57.75% 0.0994 -0.1953)
OKLCHoklch(57.75% 0.219 297)
XYZxyz(28.0052, 16.9066, 78.1161)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FE8 #ACE84F
analogous
#4F5FE8 #8B4FE8 #D74FE8
triadic
#8B4FE8 #E88B4F #4FE88B
tetradic
#8B4FE8 #E84F5F #ACE84F #4FE8D7
square
#8B4FE8 #E84F5F #ACE84F #4FE8D7
split-complementary
#8B4FE8 #E8D74F #5FE84F
monochromatic
#4F16A7 #681DDD #8B4FE8 #AF85EF #D2BBF6

Accessibility & contrast

On white

4.79
#8B4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8B4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FE8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FE8#FFFFFF#000000##FFFFFF
##8B4FE81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#747395
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b4fe8;
/* rgb */ color: rgb(139, 79, 232);
/* oklch */ color: oklch(57.8% 0.219 297.0);
Tailwind
colors: {
  custom: {
    50: '#b384f0',
    500: '#8b4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fe8;
$custom-light: #b384f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fe8",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 263.529,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.2192,
    "h": 297
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

primary
#8B4FE8
secondary
#D0E6AD
accent
#D90C89
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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