#8D4CE5#8D4CE5

#8D4CE5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.220 H 298.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D4CE5
RGBrgb(141, 76, 229)
HSLhsl(265, 75%, 60%)
HSVhsv(265, 67%, 90%)
CMYKcmyk(38.4%, 66.8%, 0%, 10.2%)
CIE-LABlab(47.61, 57.36, -67.61)
CIE-LCHlch(47.61, 88.66, 310.31°)
OKLaboklab(57.35% 0.1056 -0.1928)
OKLCHoklch(57.35% 0.22 298.7)
XYZxyz(27.7082, 16.4884, 75.8363)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CE5 #A4E54C
analogous
#4C58E5 #8D4CE5 #D94CE5
triadic
#8D4CE5 #E58D4C #4CE58D
tetradic
#8D4CE5 #E54C58 #A4E54C #4CE5D9
square
#8D4CE5 #E54C58 #A4E54C #4CE5D9
split-complementary
#8D4CE5 #E5D94C #58E54C
monochromatic
#51179F #6C1FD5 #8D4CE5 #AF81ED #D1B7F5

Accessibility & contrast

On white

4.89
#8D4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8D4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CE5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CE5#FFFFFF#000000##FFFFFF
##8D4CE51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#787092
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d4ce5;
/* rgb */ color: rgb(141, 76, 229);
/* oklch */ color: oklch(57.4% 0.220 298.7);
Tailwind
colors: {
  custom: {
    50: '#b582ee',
    500: '#8d4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ce5;
$custom-light: #b582ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ce5",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 265.49,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57351,
    "c": 0.21982,
    "h": 298.7
  },
  "luminance": 0.16489
}

Semantic roles & 50–950 ramp

primary
#8D4CE5
secondary
#CBE4A9
accent
#F137A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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