#8B46BC#8B46BC

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

Color values

HEX#8B46BC
RGBrgb(139, 70, 188)
HSLhsl(275, 47%, 51%)
HSVhsv(275, 63%, 74%)
CMYKcmyk(26.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(43.51, 50.09, -50.68)
CIE-LCHlch(43.51, 71.26, 314.66°)
OKLaboklab(53.46% 0.1133 -0.1431)
OKLCHoklch(53.46% 0.183 308.4)
XYZxyz(21.9129, 13.5005, 49.0187)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46BC #77BC46
analogous
#5046BC #8B46BC #BC46B2
triadic
#8B46BC #BC8B46 #46BC8B
tetradic
#8B46BC #BC5046 #77BC46 #46B2BC
square
#8B46BC #BC5046 #77BC46 #46B2BC
split-complementary
#8B46BC #B2BC46 #46BC50
monochromatic
#492464 #6A3490 #8B46BC #A773CC #C3A0DD

Accessibility & contrast

On white

5.68
#8B46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8B46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46BC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46BC#FFFFFF#000000##FFFFFF
##8B46BC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#845E7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b46bc;
/* rgb */ color: rgb(139, 70, 188);
/* oklch */ color: oklch(53.5% 0.182 308.4);
Tailwind
colors: {
  custom: {
    50: '#b07dd1',
    500: '#8b46bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b46bc;
$custom-light: #b07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46bc",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 275.085,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.1825,
    "h": 308.4
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#8B46BC
secondary
#AAC995
accent
#D65189
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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