#8D4CE1#8D4CE1

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

Color values

HEX#8D4CE1
RGBrgb(141, 76, 225)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 66%, 88%)
CMYKcmyk(37.3%, 66.2%, 0%, 11.8%)
CIE-LABlab(47.32, 56.37, -65.81)
CIE-LCHlch(47.32, 86.65, 310.58°)
OKLaboklab(57.06% 0.1061 -0.1875)
OKLCHoklch(57.06% 0.215 299.5)
XYZxyz(27.1562, 16.2676, 72.9288)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CE1 #A0E14C
analogous
#4C56E1 #8D4CE1 #D74CE1
triadic
#8D4CE1 #E18D4C #4CE18D
tetradic
#8D4CE1 #E14C56 #A0E14C #4CE1D7
square
#8D4CE1 #E14C56 #A0E14C #4CE1D7
split-complementary
#8D4CE1 #E1D74C #56E14C
monochromatic
#511A99 #6D22CD #8D4CE1 #AE80EA #D0B5F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4CE1#FFFFFF#000000##FFFFFF
##8D4CE11.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)
#0070E6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#7A6F90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4ce1;
/* rgb */ color: rgb(141, 76, 225);
/* oklch */ color: oklch(57.1% 0.215 299.5);
Tailwind
colors: {
  custom: {
    50: '#b482eb',
    500: '#8d4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ce1;
$custom-light: #b482eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ce1",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 266.174,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.21543,
    "h": 299.5
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#8D4CE1
secondary
#C8E2A7
accent
#EE3A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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