#8C46DC#8C46DC

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

Color values

HEX#8C46DC
RGBrgb(140, 70, 220)
HSLhsl(268, 68%, 57%)
HSVhsv(268, 68%, 86%)
CMYKcmyk(36.4%, 68.2%, 0%, 13.7%)
CIE-LABlab(45.80, 57.86, -65.44)
CIE-LCHlch(45.80, 87.35, 311.48°)
OKLaboklab(55.83% 0.1116 -0.1864)
OKLCHoklch(55.83% 0.217 300.9)
XYZxyz(25.9205, 15.1229, 69.2497)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C46DC #96DC46
analogous
#464BDC #8C46DC #D746DC
triadic
#8C46DC #DC8C46 #46DC8C
tetradic
#8C46DC #DC464B #96DC46 #46DCD7
square
#8C46DC #DC464B #96DC46 #46DCD7
split-complementary
#8C46DC #DCD746 #4BDC46
monochromatic
#501B8D #6D24C0 #8C46DC #AC79E6 #CCADEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C46DC#FFFFFF#000000##FFFFFF
##8C46DC1.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)
#006CE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#7B698C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8c46dc;
/* rgb */ color: rgb(140, 70, 220);
/* oklch */ color: oklch(55.8% 0.217 300.9);
Tailwind
colors: {
  custom: {
    50: '#b37ee8',
    500: '#8c46dc',
    950: '#000000',
  },
}
SCSS
$custom: #8c46dc;
$custom-light: #b37ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c46dc",
  "rgb": {
    "r": 140,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 268,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.21727,
    "h": 300.9
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#8C46DC
secondary
#C1DDA0
accent
#EB3D9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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