#8A4FF8#8A4FF8

#8A4FF8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.237 H 293.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A4FF8
RGBrgb(138, 79, 248)
HSLhsl(261, 92%, 64%)
HSVhsv(261, 68%, 97%)
CMYKcmyk(44.4%, 68.1%, 0%, 2.7%)
CIE-LABlab(49.22, 60.13, -75.69)
CIE-LCHlch(49.22, 96.67, 308.47°)
OKLaboklab(58.87% 0.0958 -0.2166)
OKLCHoklch(58.87% 0.237 293.9)
XYZxyz(30.2159, 17.7717, 90.6270)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FF8 #BDF84F
analogous
#4F69F8 #8A4FF8 #DF4FF8
triadic
#8A4FF8 #F88A4F #4FF88A
tetradic
#8A4FF8 #F84F69 #BDF84F #4FF8DF
square
#8A4FF8 #F84F69 #BDF84F #4FF8DF
split-complementary
#8A4FF8 #F8DF4F #69F84F
monochromatic
#4A08C5 #6314F6 #8A4FF8 #B18AFA #D8C5FD

Accessibility & contrast

On white

4.61
#8A4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A4FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FF8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FF8#FFFFFF#000000##FFFFFF
##8A4FF81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4ff8;
/* rgb */ color: rgb(138, 79, 248);
/* oklch */ color: oklch(58.9% 0.237 293.9);
Tailwind
colors: {
  custom: {
    50: '#b484fc',
    500: '#8a4ff8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ff8;
$custom-light: #b484fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ff8",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 260.947,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58867,
    "c": 0.23687,
    "h": 293.9
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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