#8A4FDC#8A4FDC

#8A4FDC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.206 H 298.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A4FDC
RGBrgb(138, 79, 220)
HSLhsl(265, 67%, 59%)
HSVhsv(265, 64%, 86%)
CMYKcmyk(37.3%, 64.1%, 0%, 13.7%)
CIE-LABlab(47.19, 53.02, -63.21)
CIE-LCHlch(47.19, 82.50, 309.99°)
OKLaboklab(56.77% 0.0994 -0.1799)
OKLCHoklch(56.77% 0.206 298.9)
XYZxyz(26.1923, 16.1622, 69.4360)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FDC #A1DC4F
analogous
#4F5ADC #8A4FDC #D04FDC
triadic
#8A4FDC #DC8A4F #4FDC8A
tetradic
#8A4FDC #DC4F5A #A1DC4F #4FDCD0
square
#8A4FDC #DC4F5A #A1DC4F #4FDCD0
split-complementary
#8A4FDC #DCD04F #5ADC4F
monochromatic
#4F1D93 #6A27C6 #8A4FDC #AC82E6 #CEB5F0

Accessibility & contrast

On white

4.96
#8A4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8A4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FDC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FDC#FFFFFF#000000##FFFFFF
##8A4FDC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#776F8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a4fdc;
/* rgb */ color: rgb(138, 79, 220);
/* oklch */ color: oklch(56.8% 0.206 298.9);
Tailwind
colors: {
  custom: {
    50: '#b284e8',
    500: '#8a4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fdc;
$custom-light: #b284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fdc",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 265.106,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.20558,
    "h": 298.9
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#8A4FDC
secondary
#C8DFA8
accent
#EA3EA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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