#8C46DA#8C46DA

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

Color values

HEX#8C46DA
RGBrgb(140, 70, 218)
HSLhsl(268, 67%, 56%)
HSVhsv(268, 68%, 85%)
CMYKcmyk(35.8%, 67.9%, 0%, 14.5%)
CIE-LABlab(45.66, 57.37, -64.53)
CIE-LCHlch(45.66, 86.35, 311.64°)
OKLaboklab(55.68% 0.1119 -0.1837)
OKLCHoklch(55.68% 0.215 301.3)
XYZxyz(25.6572, 15.0176, 67.8630)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C46DA #94DA46
analogous
#464ADA #8C46DA #D646DA
triadic
#8C46DA #DA8C46 #46DA8C
tetradic
#8C46DA #DA464A #94DA46 #46DAD6
square
#8C46DA #DA464A #94DA46 #46DAD6
split-complementary
#8C46DA #DAD646 #4ADA46
monochromatic
#501C8A #6D26BD #8C46DA #AC79E4 #CBACEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C46DA#FFFFFF#000000##FFFFFF
##8C46DA1.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)
#006BDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#7B698B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8c46da;
/* rgb */ color: rgb(140, 70, 218);
/* oklch */ color: oklch(55.7% 0.215 301.3);
Tailwind
colors: {
  custom: {
    50: '#b37ee6',
    500: '#8c46da',
    950: '#000000',
  },
}
SCSS
$custom: #8c46da;
$custom-light: #b37ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c46da",
  "rgb": {
    "r": 140,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 268.378,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.21513,
    "h": 301.3
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#8C46DA
secondary
#C0DCA0
accent
#EA3E99
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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