#8D4AE6#8D4AE6

#8D4AE6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.223 H 298.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D4AE6
RGBrgb(141, 74, 230)
HSLhsl(266, 76%, 60%)
HSVhsv(266, 68%, 90%)
CMYKcmyk(38.7%, 67.8%, 0%, 9.8%)
CIE-LABlab(47.33, 58.57, -68.63)
CIE-LCHlch(47.33, 90.23, 310.48°)
OKLaboklab(57.18% 0.1075 -0.1958)
OKLCHoklch(57.18% 0.223 298.8)
XYZxyz(27.7126, 16.2731, 76.5285)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4AE6 #A3E64A
analogous
#4A55E6 #8D4AE6 #DB4AE6
triadic
#8D4AE6 #E68D4A #4AE68D
tetradic
#8D4AE6 #E64A55 #A3E64A #4AE6DB
square
#8D4AE6 #E64A55 #A3E64A #4AE6DB
split-complementary
#8D4AE6 #E6DB4A #55E64A
monochromatic
#5116A0 #6C1DD5 #8D4AE6 #AF80ED #D1B6F5

Accessibility & contrast

On white

4.94
#8D4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8D4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4AE6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4AE6#FFFFFF#000000##FFFFFF
##8D4AE61.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d4ae6;
/* rgb */ color: rgb(141, 74, 230);
/* oklch */ color: oklch(57.2% 0.223 298.8);
Tailwind
colors: {
  custom: {
    50: '#b581ef',
    500: '#8d4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ae6;
$custom-light: #b581ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ae6",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 265.769,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.22334,
    "h": 298.8
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#8D4AE6
secondary
#CAE4A8
accent
#F235A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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