#8A4FCD#8A4FCD

#8A4FCD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.189 H 302.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A4FCD
RGBrgb(138, 79, 205)
HSLhsl(268, 56%, 56%)
HSVhsv(268, 61%, 80%)
CMYKcmyk(32.7%, 61.5%, 0%, 19.6%)
CIE-LABlab(46.18, 49.29, -56.25)
CIE-LCHlch(46.18, 74.79, 311.23°)
OKLaboklab(55.72% 0.1005 -0.1595)
OKLCHoklch(55.72% 0.189 302.2)
XYZxyz(24.2941, 15.4030, 59.4390)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FCD #92CD4F
analogous
#4F53CD #8A4FCD #C94FCD
triadic
#8A4FCD #CD8A4F #4FCD8A
tetradic
#8A4FCD #CD4F53 #92CD4F #4FCDC9
square
#8A4FCD #CD4F53 #92CD4F #4FCDC9
split-complementary
#8A4FCD #CDC94F #53CD4F
monochromatic
#4E247E #6B31AE #8A4FCD #AA7FDB #C9AEE8

Accessibility & contrast

On white

5.15
#8A4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8A4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FCD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FCD#FFFFFF#000000##FFFFFF
##8A4FCD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#7D6A87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4fcd;
/* rgb */ color: rgb(138, 79, 205);
/* oklch */ color: oklch(55.7% 0.189 302.2);
Tailwind
colors: {
  custom: {
    50: '#b083dd',
    500: '#8a4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fcd;
$custom-light: #b083dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fcd",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 268.095,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55724,
    "c": 0.1885,
    "h": 302.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#8A4FCD
secondary
#BED6A2
accent
#DF4999
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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