#8D46DA#8D46DA

#8D46DA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.215 H 301.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8D46DA
RGBrgb(141, 70, 218)
HSLhsl(269, 67%, 56%)
HSVhsv(269, 68%, 85%)
CMYKcmyk(35.3%, 67.9%, 0%, 14.5%)
CIE-LABlab(45.78, 57.57, -64.33)
CIE-LCHlch(45.78, 86.33, 311.82°)
OKLaboklab(55.79% 0.1132 -0.1831)
OKLCHoklch(55.79% 0.215 301.7)
XYZxyz(25.8265, 15.1049, 67.8710)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46DA #93DA46
analogous
#4649DA #8D46DA #D746DA
triadic
#8D46DA #DA8D46 #46DA8D
tetradic
#8D46DA #DA4649 #93DA46 #46DAD7
square
#8D46DA #DA4649 #93DA46 #46DAD7
split-complementary
#8D46DA #DAD746 #49DA46
monochromatic
#511C8A #6E26BD #8D46DA #AC79E4 #CCACEE

Accessibility & contrast

On white

5.22
#8D46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8D46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46DA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46DA#FFFFFF#000000##FFFFFF
##8D46DA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#7D688B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d46da;
/* rgb */ color: rgb(141, 70, 218);
/* oklch */ color: oklch(55.8% 0.215 301.7);
Tailwind
colors: {
  custom: {
    50: '#b47ee6',
    500: '#8d46da',
    950: '#000000',
  },
}
SCSS
$custom: #8d46da;
$custom-light: #b47ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46da",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 268.784,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.2153,
    "h": 301.7
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#8D46DA
secondary
#BFDCA0
accent
#EA3E97
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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