#8B46D1#8B46D1

#8B46D1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.205 H 303.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8B46D1
RGBrgb(139, 70, 209)
HSLhsl(270, 60%, 55%)
HSVhsv(270, 67%, 82%)
CMYKcmyk(33.5%, 66.5%, 0%, 18%)
CIE-LABlab(44.90, 55.02, -60.60)
CIE-LCHlch(44.90, 81.85, 312.23°)
OKLaboklab(54.91% 0.1117 -0.1722)
OKLCHoklch(54.91% 0.205 303)
XYZxyz(24.3436, 14.4727, 61.8203)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46D1 #8CD146
analogous
#4647D1 #8B46D1 #D046D1
triadic
#8B46D1 #D18B46 #46D18B
tetradic
#8B46D1 #D14647 #8CD146 #46D1D0
square
#8B46D1 #D14647 #8CD146 #46D1D0
split-complementary
#8B46D1 #D1D046 #47D146
monochromatic
#4E1F7D #6C2BAE #8B46D1 #AA77DD #C8A8E9

Accessibility & contrast

On white

5.39
#8B46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8B46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46D1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46D1#FFFFFF#000000##FFFFFF
##8B46D11.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#076ACE
Tritanopia (blue-blind)
#7D6586
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b46d1;
/* rgb */ color: rgb(139, 70, 209);
/* oklch */ color: oklch(54.9% 0.205 303.0);
Tailwind
colors: {
  custom: {
    50: '#b27ee0',
    500: '#8b46d1',
    950: '#000000',
  },
}
SCSS
$custom: #8b46d1;
$custom-light: #b27ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46d1",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 269.784,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.20526,
    "h": 303
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#8B46D1
secondary
#BAD79C
accent
#E34494
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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