#8B46AF#8B46AF

#8B46AF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.168 H 312.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8B46AF
RGBrgb(139, 70, 175)
HSLhsl(279, 43%, 48%)
HSVhsv(279, 60%, 69%)
CMYKcmyk(20.6%, 60%, 0%, 31.4%)
CIE-LABlab(42.71, 47.15, -44.33)
CIE-LCHlch(42.71, 64.72, 316.77°)
OKLaboklab(52.63% 0.1135 -0.1245)
OKLCHoklch(52.63% 0.168 312.4)
XYZxyz(20.5741, 12.9649, 41.9678)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46AF #6AAF46
analogous
#5746AF #8B46AF #AF469E
triadic
#8B46AF #AF8B46 #46AF8B
tetradic
#8B46AF #AF5746 #6AAF46 #469EAF
square
#8B46AF #AF5746 #6AAF46 #469EAF
split-complementary
#8B46AF #9EAF46 #46AF57
monochromatic
#462358 #683583 #8B46AF #A76DC5 #C199D6

Accessibility & contrast

On white

5.85
#8B46AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8B46AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46AF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46AF#FFFFFF#000000##FFFFFF
##8B46AF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#875974
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b46af;
/* rgb */ color: rgb(139, 70, 175);
/* oklch */ color: oklch(52.6% 0.168 312.4);
Tailwind
colors: {
  custom: {
    50: '#b07dc7',
    500: '#8b46af',
    950: '#000000',
  },
}
SCSS
$custom: #8b46af;
$custom-light: #b07dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46af",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 279.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.16842,
    "h": 312.4
  },
  "luminance": 0.12964
}

Semantic roles & 50–950 ramp

primary
#8B46AF
secondary
#A0C28E
accent
#D35580
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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