#8B4FF8#8B4FF8

#8B4FF8 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.237 H 294.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8B4FF8
RGBrgb(139, 79, 248)
HSLhsl(261, 92%, 64%)
HSVhsv(261, 68%, 97%)
CMYKcmyk(44%, 68.1%, 0%, 2.7%)
CIE-LABlab(49.32, 60.31, -75.51)
CIE-LCHlch(49.32, 96.64, 308.61°)
OKLaboklab(58.97% 0.0971 -0.2161)
OKLCHoklch(58.97% 0.237 294.2)
XYZxyz(30.3821, 17.8574, 90.6348)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FF8 #BCF84F
analogous
#4F68F8 #8B4FF8 #E04FF8
triadic
#8B4FF8 #F88B4F #4FF88B
tetradic
#8B4FF8 #F84F68 #BCF84F #4FF8E0
square
#8B4FF8 #F84F68 #BCF84F #4FF8E0
split-complementary
#8B4FF8 #F8E04F #68F84F
monochromatic
#4B08C5 #6414F6 #8B4FF8 #B28AFA #D9C5FD

Accessibility & contrast

On white

4.59
#8B4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8B4FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FF8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FF8#FFFFFF#000000##FFFFFF
##8B4FF81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FD
Deuteranopia (green-blind)
#0072F5
Tritanopia (blue-blind)
#6C799E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b4ff8;
/* rgb */ color: rgb(139, 79, 248);
/* oklch */ color: oklch(59.0% 0.237 294.2);
Tailwind
colors: {
  custom: {
    50: '#b584fc',
    500: '#8b4ff8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ff8;
$custom-light: #b584fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ff8",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 261.302,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.23693,
    "h": 294.2
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#8B4FF8
secondary
#DAEFB4
accent
#E60094
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8B4FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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