#8C46BB#8C46BB

#8C46BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.182 H 309.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8C46BB
RGBrgb(140, 70, 187)
HSLhsl(276, 46%, 50%)
HSVhsv(276, 63%, 73%)
CMYKcmyk(25.1%, 62.6%, 0%, 26.7%)
CIE-LABlab(43.57, 50.10, -49.99)
CIE-LCHlch(43.57, 70.77, 315.06°)
OKLaboklab(53.52% 0.1146 -0.141)
OKLCHoklch(53.52% 0.182 309.1)
XYZxyz(21.9732, 13.5440, 48.4608)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C46BB #75BB46
analogous
#5146BB #8C46BB #BB46B0
triadic
#8C46BB #BB8C46 #46BB8C
tetradic
#8C46BB #BB5146 #75BB46 #46B0BB
square
#8C46BB #BB5146 #75BB46 #46B0BB
split-complementary
#8C46BB #B0BB46 #46BB51
monochromatic
#492462 #6B358F #8C46BB #A873CB #C4A0DC

Accessibility & contrast

On white

5.66
#8C46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8C46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C46BB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C46BB#FFFFFF#000000##FFFFFF
##8C46BB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#855D7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c46bb;
/* rgb */ color: rgb(140, 70, 187);
/* oklch */ color: oklch(53.5% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#b17dd0',
    500: '#8c46bb',
    950: '#000000',
  },
}
SCSS
$custom: #8c46bb;
$custom-light: #b17dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c46bb",
  "rgb": {
    "r": 140,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 275.897,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.18173,
    "h": 309.1
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#8C46BB
secondary
#A9C894
accent
#D65287
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8C46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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