#8A4DFF#8A4DFF

#8A4DFF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.2% C 0.247 H 293.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A4DFF
RGBrgb(138, 77, 255)
HSLhsl(261, 100%, 65%)
HSVhsv(261, 70%, 100%)
CMYKcmyk(45.9%, 69.8%, 0%, 0%)
CIE-LABlab(49.41, 62.89, -79.27)
CIE-LCHlch(49.41, 101.19, 308.43°)
OKLaboklab(59.17% 0.0964 -0.2272)
OKLCHoklch(59.17% 0.247 293)
XYZxyz(31.1801, 17.9300, 96.4064)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DFF #C2FF4D
analogous
#4D69FF #8A4DFF #E34DFF
triadic
#8A4DFF #FF8A4D #4DFF8A
tetradic
#8A4DFF #FF4D69 #C2FF4D #4DFFE3
square
#8A4DFF #FF4D69 #C2FF4D #4DFFE3
split-complementary
#8A4DFF #FFE34D #69FF4D
monochromatic
#4800D2 #6210FF #8A4DFF #B28AFF #DAC7FF

Accessibility & contrast

On white

4.58
#8A4DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A4DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A4DFF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DFF#FFFFFF#000000##000000
##8A4DFF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0072FC
Tritanopia (blue-blind)
#677BA1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a4dff;
/* rgb */ color: rgb(138, 77, 255);
/* oklch */ color: oklch(59.2% 0.247 293.0);
Tailwind
colors: {
  custom: {
    50: '#b583ff',
    500: '#8a4dff',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dff;
$custom-light: #b583ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dff",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 260.562,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.24675,
    "h": 293
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#8A4DFF
secondary
#DDF2B6
accent
#E60097
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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