#8B46C8#8B46C8

#8B46C8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.3% C 0.196 H 305.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8B46C8
RGBrgb(139, 70, 200)
HSLhsl(272, 54%, 53%)
HSVhsv(272, 65%, 78%)
CMYKcmyk(30.5%, 65%, 0%, 21.6%)
CIE-LABlab(44.29, 52.88, -56.40)
CIE-LCHlch(44.29, 77.32, 313.15°)
OKLaboklab(54.28% 0.1125 -0.1599)
OKLCHoklch(54.28% 0.196 305.1)
XYZxyz(23.2606, 14.0396, 56.1169)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46C8 #83C846
analogous
#4A46C8 #8B46C8 #C846C4
triadic
#8B46C8 #C88B46 #46C88B
tetradic
#8B46C8 #C84A46 #83C846 #46C4C8
square
#8B46C8 #C84A46 #83C846 #46C4C8
split-complementary
#8B46C8 #C4C846 #46C84A
monochromatic
#4C2272 #6C30A1 #8B46C8 #A975D6 #C6A4E4

Accessibility & contrast

On white

5.51
#8B46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8B46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46C8#FFFFFF#000000##FFFFFF
##8B46C81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#806281
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b46c8;
/* rgb */ color: rgb(139, 70, 200);
/* oklch */ color: oklch(54.3% 0.196 305.1);
Tailwind
colors: {
  custom: {
    50: '#b17ed9',
    500: '#8b46c8',
    950: '#000000',
  },
}
SCSS
$custom: #8b46c8;
$custom-light: #b17ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46c8",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 271.846,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.19552,
    "h": 305.1
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#8B46C8
secondary
#B3D199
accent
#DE4A8F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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