#8A4CFF#8A4CFF

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

Color values

HEX#8A4CFF
RGBrgb(138, 76, 255)
HSLhsl(261, 100%, 65%)
HSVhsv(261, 70%, 100%)
CMYKcmyk(45.9%, 70.2%, 0%, 0%)
CIE-LABlab(49.24, 63.37, -79.55)
CIE-LCHlch(49.24, 101.70, 308.54°)
OKLaboklab(59.05% 0.0972 -0.228)
OKLCHoklch(59.05% 0.248 293.1)
XYZxyz(31.1107, 17.7912, 96.3832)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CFF #C1FF4C
analogous
#4C68FF #8A4CFF #E34CFF
triadic
#8A4CFF #FF8A4C #4CFF8A
tetradic
#8A4CFF #FF4C68 #C1FF4C #4CFFE3
square
#8A4CFF #FF4C68 #C1FF4C #4CFFE3
split-complementary
#8A4CFF #FFE34C #68FF4C
monochromatic
#4800D1 #620FFF #8A4CFF #B289FF #DAC6FF

Accessibility & contrast

On white

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

On black

4.56
#8A4CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A4CFF#FFFFFF#000000##FFFFFF
##8A4CFF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0072FB
Tritanopia (blue-blind)
#677AA1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a4cff;
/* rgb */ color: rgb(138, 76, 255);
/* oklch */ color: oklch(59.1% 0.248 293.1);
Tailwind
colors: {
  custom: {
    50: '#b583ff',
    500: '#8a4cff',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cff;
$custom-light: #b583ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cff",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 255
  },
  "hsl": {
    "h": 260.782,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.24784,
    "h": 293.1
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#8A4CFF
secondary
#DDF2B5
accent
#E60096
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A4CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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