#8B46D2#8B46D2

#8B46D2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.206 H 302.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8B46D2
RGBrgb(139, 70, 210)
HSLhsl(270, 61%, 55%)
HSVhsv(270, 67%, 82%)
CMYKcmyk(33.8%, 66.7%, 0%, 17.6%)
CIE-LABlab(44.97, 55.26, -61.07)
CIE-LCHlch(44.97, 82.35, 312.14°)
OKLaboklab(54.98% 0.1115 -0.1736)
OKLCHoklch(54.98% 0.206 302.7)
XYZxyz(24.4678, 14.5224, 62.4743)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46D2 #8DD246
analogous
#4647D2 #8B46D2 #D146D2
triadic
#8B46D2 #D28B46 #46D28B
tetradic
#8B46D2 #D24647 #8DD246 #46D2D1
square
#8B46D2 #D24647 #8DD246 #46D2D1
split-complementary
#8B46D2 #D2D146 #47D246
monochromatic
#4E1F7F #6C2BB0 #8B46D2 #AA77DE #C9A8EA

Accessibility & contrast

On white

5.38
#8B46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8B46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46D2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46D2#FFFFFF#000000##FFFFFF
##8B46D21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#026ACF
Tritanopia (blue-blind)
#7D6686
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b46d2;
/* rgb */ color: rgb(139, 70, 210);
/* oklch */ color: oklch(55.0% 0.206 302.7);
Tailwind
colors: {
  custom: {
    50: '#b27ee1',
    500: '#8b46d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b46d2;
$custom-light: #b27ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46d2",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 269.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54985,
    "c": 0.20634,
    "h": 302.7
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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