#8B46DC#8B46DC

#8B46DC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.7% C 0.217 H 300.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8B46DC
RGBrgb(139, 70, 220)
HSLhsl(268, 68%, 57%)
HSVhsv(268, 68%, 86%)
CMYKcmyk(36.8%, 68.2%, 0%, 13.7%)
CIE-LABlab(45.68, 57.66, -65.64)
CIE-LCHlch(45.68, 87.37, 311.30°)
OKLaboklab(55.72% 0.1102 -0.187)
OKLCHoklch(55.72% 0.217 300.5)
XYZxyz(25.7527, 15.0364, 69.2418)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46DC #97DC46
analogous
#464CDC #8B46DC #D646DC
triadic
#8B46DC #DC8B46 #46DC8B
tetradic
#8B46DC #DC464C #97DC46 #46DCD6
square
#8B46DC #DC464C #97DC46 #46DCD6
split-complementary
#8B46DC #DCD646 #4CDC46
monochromatic
#4F1B8D #6C24C0 #8B46DC #AB79E6 #CCADEF

Accessibility & contrast

On white

5.24
#8B46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8B46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46DC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46DC#FFFFFF#000000##FFFFFF
##8B46DC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#79698C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b46dc;
/* rgb */ color: rgb(139, 70, 220);
/* oklch */ color: oklch(55.7% 0.217 300.5);
Tailwind
colors: {
  custom: {
    50: '#b37ee8',
    500: '#8b46dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b46dc;
$custom-light: #b37ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46dc",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 267.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.2171,
    "h": 300.5
  },
  "luminance": 0.15037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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