#8D4CE7#8D4CE7

#8D4CE7 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.222 H 298.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8D4CE7
RGBrgb(141, 76, 231)
HSLhsl(265, 76%, 60%)
HSVhsv(265, 67%, 91%)
CMYKcmyk(39%, 67.1%, 0%, 9.4%)
CIE-LABlab(47.75, 57.85, -68.51)
CIE-LCHlch(47.75, 89.67, 310.18°)
OKLaboklab(57.5% 0.1053 -0.1954)
OKLCHoklch(57.5% 0.222 298.3)
XYZxyz(27.9891, 16.6007, 77.3155)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CE7 #A6E74C
analogous
#4C59E7 #8D4CE7 #DA4CE7
triadic
#8D4CE7 #E78D4C #4CE78D
tetradic
#8D4CE7 #E74C59 #A6E74C #4CE7DA
square
#8D4CE7 #E74C59 #A6E74C #4CE7DA
split-complementary
#8D4CE7 #E7DA4C #59E74C
monochromatic
#5116A3 #6C1DD9 #8D4CE7 #AF82EE #D2B8F5

Accessibility & contrast

On white

4.86
#8D4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8D4CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CE7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CE7#FFFFFF#000000##FFFFFF
##8D4CE71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#777194
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d4ce7;
/* rgb */ color: rgb(141, 76, 231);
/* oklch */ color: oklch(57.5% 0.222 298.3);
Tailwind
colors: {
  custom: {
    50: '#b582f0',
    500: '#8d4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ce7;
$custom-light: #b582f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ce7",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 265.161,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.22201,
    "h": 298.3
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#8D4CE7
secondary
#CCE5AA
accent
#D90D83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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