#8D4AE5#8D4AE5

#8D4AE5 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.222 H 299.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D4AE5
RGBrgb(141, 74, 229)
HSLhsl(266, 75%, 59%)
HSVhsv(266, 68%, 90%)
CMYKcmyk(38.4%, 67.7%, 0%, 10.2%)
CIE-LABlab(47.26, 58.33, -68.18)
CIE-LCHlch(47.26, 89.73, 310.55°)
OKLaboklab(57.1% 0.1076 -0.1945)
OKLCHoklch(57.1% 0.222 299)
XYZxyz(27.5726, 16.2171, 75.7911)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4AE5 #A2E54A
analogous
#4A55E5 #8D4AE5 #DA4AE5
triadic
#8D4AE5 #E58D4A #4AE58D
tetradic
#8D4AE5 #E54A55 #A2E54A #4AE5DA
square
#8D4AE5 #E54A55 #A2E54A #4AE5DA
split-complementary
#8D4AE5 #E5DA4A #55E54A
monochromatic
#51179E #6D1ED3 #8D4AE5 #AF80ED #D0B5F4

Accessibility & contrast

On white

4.95
#8D4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8D4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4AE5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4AE5#FFFFFF#000000##FFFFFF
##8D4AE51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#786F92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4ae5;
/* rgb */ color: rgb(141, 74, 229);
/* oklch */ color: oklch(57.1% 0.222 299.0);
Tailwind
colors: {
  custom: {
    50: '#b581ee',
    500: '#8d4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ae5;
$custom-light: #b581ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ae5",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 265.935,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.571,
    "c": 0.22226,
    "h": 299
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#8D4AE5
secondary
#C9E4A7
accent
#F136A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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