#8B46DB#8B46DB

#8B46DB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.216 H 300.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8B46DB
RGBrgb(139, 70, 219)
HSLhsl(268, 67%, 57%)
HSVhsv(268, 68%, 86%)
CMYKcmyk(36.5%, 68%, 0%, 14.1%)
CIE-LABlab(45.61, 57.42, -65.18)
CIE-LCHlch(45.61, 86.87, 311.38°)
OKLaboklab(55.64% 0.1104 -0.1857)
OKLCHoklch(55.64% 0.216 300.7)
XYZxyz(25.6207, 14.9836, 68.5464)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46DB #96DB46
analogous
#464CDB #8B46DB #D546DB
triadic
#8B46DB #DB8B46 #46DB8B
tetradic
#8B46DB #DB464C #96DB46 #46DBD5
square
#8B46DB #DB464C #96DB46 #46DBD5
split-complementary
#8B46DB #DBD546 #4CDB46
monochromatic
#4F1B8B #6C25BF #8B46DB #AB79E5 #CBACEF

Accessibility & contrast

On white

5.25
#8B46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8B46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46DB#FFFFFF#000000##FFFFFF
##8B46DB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b46db;
/* rgb */ color: rgb(139, 70, 219);
/* oklch */ color: oklch(55.6% 0.216 300.7);
Tailwind
colors: {
  custom: {
    50: '#b37ee7',
    500: '#8b46db',
    950: '#000000',
  },
}
SCSS
$custom: #8b46db;
$custom-light: #b37ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46db",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 267.785,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55644,
    "c": 0.21603,
    "h": 300.7
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#8B46DB
secondary
#C1DDA0
accent
#EA3D9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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