#8B46DA#8B46DA

#8B46DA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.215 H 300.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8B46DA
RGBrgb(139, 70, 218)
HSLhsl(268, 67%, 56%)
HSVhsv(268, 68%, 85%)
CMYKcmyk(36.2%, 67.9%, 0%, 14.5%)
CIE-LABlab(45.54, 57.18, -64.73)
CIE-LCHlch(45.54, 86.37, 311.46°)
OKLaboklab(55.57% 0.1105 -0.1844)
OKLCHoklch(55.57% 0.215 300.9)
XYZxyz(25.4894, 14.9311, 67.8552)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46DA #95DA46
analogous
#464BDA #8B46DA #D546DA
triadic
#8B46DA #DA8B46 #46DA8B
tetradic
#8B46DA #DA464B #95DA46 #46DAD5
square
#8B46DA #DA464B #95DA46 #46DAD5
split-complementary
#8B46DA #DAD546 #4BDA46
monochromatic
#4F1C8A #6C26BD #8B46DA #AB79E4 #CBACEE

Accessibility & contrast

On white

5.27
#8B46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8B46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46DA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46DA#FFFFFF#000000##FFFFFF
##8B46DA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#7A698B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b46da;
/* rgb */ color: rgb(139, 70, 218);
/* oklch */ color: oklch(55.6% 0.215 300.9);
Tailwind
colors: {
  custom: {
    50: '#b37ee6',
    500: '#8b46da',
    950: '#000000',
  },
}
SCSS
$custom: #8b46da;
$custom-light: #b37ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46da",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 267.973,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.21496,
    "h": 300.9
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#8B46DA
secondary
#C0DCA0
accent
#EA3E9A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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