#8C46DB#8C46DB

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

Color values

HEX#8C46DB
RGBrgb(140, 70, 219)
HSLhsl(268, 67%, 57%)
HSVhsv(268, 68%, 86%)
CMYKcmyk(36.1%, 68%, 0%, 14.1%)
CIE-LABlab(45.73, 57.61, -64.99)
CIE-LCHlch(45.73, 86.85, 311.56°)
OKLaboklab(55.76% 0.1117 -0.1851)
OKLCHoklch(55.76% 0.216 301.1)
XYZxyz(25.7885, 15.0701, 68.5543)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C46DB #95DB46
analogous
#464BDB #8C46DB #D746DB
triadic
#8C46DB #DB8C46 #46DB8C
tetradic
#8C46DB #DB464B #95DB46 #46DBD7
square
#8C46DB #DB464B #95DB46 #46DBD7
split-complementary
#8C46DB #DBD746 #4BDB46
monochromatic
#501B8B #6D25BF #8C46DB #AC79E5 #CCACEF

Accessibility & contrast

On white

5.23
#8C46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8C46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C46DB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C46DB#FFFFFF#000000##FFFFFF
##8C46DB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#7B698B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8c46db;
/* rgb */ color: rgb(140, 70, 219);
/* oklch */ color: oklch(55.8% 0.216 301.1);
Tailwind
colors: {
  custom: {
    50: '#b37ee7',
    500: '#8c46db',
    950: '#000000',
  },
}
SCSS
$custom: #8c46db;
$custom-light: #b37ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c46db",
  "rgb": {
    "r": 140,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 268.188,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.2162,
    "h": 301.1
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

primary
#8C46DB
secondary
#C0DDA0
accent
#EA3D99
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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