#8D4BE6#8D4BE6

#8D4BE6 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.222 H 298.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D4BE6
RGBrgb(141, 75, 230)
HSLhsl(266, 76%, 60%)
HSVhsv(266, 67%, 90%)
CMYKcmyk(38.7%, 67.4%, 0%, 9.8%)
CIE-LABlab(47.50, 58.09, -68.35)
CIE-LCHlch(47.50, 89.70, 310.36°)
OKLaboklab(57.3% 0.1065 -0.195)
OKLCHoklch(57.3% 0.222 298.6)
XYZxyz(27.7799, 16.4077, 76.5510)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BE6 #A4E64B
analogous
#4B57E6 #8D4BE6 #DA4BE6
triadic
#8D4BE6 #E68D4B #4BE68D
tetradic
#8D4BE6 #E64B57 #A4E64B #4BE6DA
square
#8D4BE6 #E64B57 #A4E64B #4BE6DA
split-complementary
#8D4BE6 #E6DA4B #57E64B
monochromatic
#5116A0 #6C1ED6 #8D4BE6 #AF81ED #D1B6F5

Accessibility & contrast

On white

4.90
#8D4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8D4BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BE6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BE6#FFFFFF#000000##FFFFFF
##8D4BE61.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#787093
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d4be6;
/* rgb */ color: rgb(141, 75, 230);
/* oklch */ color: oklch(57.3% 0.222 298.6);
Tailwind
colors: {
  custom: {
    50: '#b582ef',
    500: '#8d4be6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4be6;
$custom-light: #b582ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4be6",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 265.548,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.22213,
    "h": 298.6
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#8D4BE6
secondary
#CBE4A8
accent
#F236A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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