#8B46C7#8B46C7

#8B46C7 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.194 H 305.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B46C7
RGBrgb(139, 70, 199)
HSLhsl(272, 54%, 53%)
HSVhsv(272, 65%, 78%)
CMYKcmyk(30.2%, 64.8%, 0%, 22%)
CIE-LABlab(44.22, 52.65, -55.93)
CIE-LCHlch(44.22, 76.81, 313.27°)
OKLaboklab(54.21% 0.1126 -0.1585)
OKLCHoklch(54.21% 0.194 305.4)
XYZxyz(23.1442, 13.9930, 55.5034)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46C7 #82C746
analogous
#4A46C7 #8B46C7 #C746C2
triadic
#8B46C7 #C78B46 #46C78B
tetradic
#8B46C7 #C74A46 #82C746 #46C2C7
square
#8B46C7 #C74A46 #82C746 #46C2C7
split-complementary
#8B46C7 #C2C746 #46C74A
monochromatic
#4C2271 #6C30A0 #8B46C7 #A875D5 #C6A4E3

Accessibility & contrast

On white

5.53
#8B46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8B46C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46C7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46C7#FFFFFF#000000##FFFFFF
##8B46C71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2469C4
Tritanopia (blue-blind)
#806280
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b46c7;
/* rgb */ color: rgb(139, 70, 199);
/* oklch */ color: oklch(54.2% 0.194 305.4);
Tailwind
colors: {
  custom: {
    50: '#b17ed9',
    500: '#8b46c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b46c7;
$custom-light: #b17ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46c7",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 272.093,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.19444,
    "h": 305.4
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#8B46C7
secondary
#B2D098
accent
#DD4B8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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