#8D46D8#8D46D8

#8D46D8 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.213 H 302.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8D46D8
RGBrgb(141, 70, 216)
HSLhsl(269, 65%, 56%)
HSVhsv(269, 68%, 85%)
CMYKcmyk(34.7%, 67.6%, 0%, 15.3%)
CIE-LABlab(45.64, 57.09, -63.42)
CIE-LCHlch(45.64, 85.33, 311.99°)
OKLaboklab(55.65% 0.1135 -0.1804)
OKLCHoklch(55.65% 0.213 302.2)
XYZxyz(25.5664, 15.0008, 66.5010)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46D8 #91D846
analogous
#4648D8 #8D46D8 #D646D8
triadic
#8D46D8 #D88D46 #46D88D
tetradic
#8D46D8 #D84648 #91D846 #46D8D6
square
#8D46D8 #D84648 #91D846 #46D8D6
split-complementary
#8D46D8 #D8D646 #48D846
monochromatic
#501C87 #6E27BA #8D46D8 #AC79E3 #CBABED

Accessibility & contrast

On white

5.25
#8D46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8D46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46D8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46D8#FFFFFF#000000##FFFFFF
##8D46D81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#7E688A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d46d8;
/* rgb */ color: rgb(141, 70, 216);
/* oklch */ color: oklch(55.6% 0.213 302.2);
Tailwind
colors: {
  custom: {
    50: '#b47ee5',
    500: '#8d46d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d46d8;
$custom-light: #b47ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46d8",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 269.178,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.21317,
    "h": 302.2
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#8D46D8
secondary
#BEDB9F
accent
#E84096
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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