#8B46CF#8B46CF

#8B46CF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.203 H 303.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B46CF
RGBrgb(139, 70, 207)
HSLhsl(270, 59%, 54%)
HSVhsv(270, 66%, 81%)
CMYKcmyk(32.9%, 66.2%, 0%, 18.8%)
CIE-LABlab(44.77, 54.54, -59.68)
CIE-LCHlch(44.77, 80.84, 312.42°)
OKLaboklab(54.77% 0.1119 -0.1695)
OKLCHoklch(54.77% 0.203 303.4)
XYZxyz(24.0975, 14.3743, 60.5244)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46CF #8ACF46
analogous
#4746CF #8B46CF #CF46CE
triadic
#8B46CF #CF8B46 #46CF8B
tetradic
#8B46CF #CF4746 #8ACF46 #46CECF
square
#8B46CF #CF4746 #8ACF46 #46CECF
split-complementary
#8B46CF #CECF46 #46CF47
monochromatic
#4E207B #6C2CAB #8B46CF #A977DC #C8A7E8

Accessibility & contrast

On white

5.42
#8B46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8B46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46CF#FFFFFF#000000##FFFFFF
##8B46CF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#106ACC
Tritanopia (blue-blind)
#7E6585
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b46cf;
/* rgb */ color: rgb(139, 70, 207);
/* oklch */ color: oklch(54.8% 0.203 303.4);
Tailwind
colors: {
  custom: {
    50: '#b27ede',
    500: '#8b46cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b46cf;
$custom-light: #b27ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46cf",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 270.219,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.2031,
    "h": 303.4
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#8B46CF
secondary
#B8D59B
accent
#E24693
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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