#8B46CA#8B46CA

#8B46CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.198 H 304.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8B46CA
RGBrgb(139, 70, 202)
HSLhsl(271, 55%, 53%)
HSVhsv(271, 65%, 79%)
CMYKcmyk(31.2%, 65.3%, 0%, 20.8%)
CIE-LABlab(44.42, 53.35, -57.34)
CIE-LCHlch(44.42, 78.33, 312.93°)
OKLaboklab(54.42% 0.1124 -0.1627)
OKLCHoklch(54.42% 0.198 304.6)
XYZxyz(23.4959, 14.1337, 57.3559)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46CA #85CA46
analogous
#4946CA #8B46CA #CA46C7
triadic
#8B46CA #CA8B46 #46CA8B
tetradic
#8B46CA #CA4946 #85CA46 #46C7CA
square
#8B46CA #CA4946 #85CA46 #46C7CA
split-complementary
#8B46CA #C7CA46 #46CA49
monochromatic
#4D2174 #6C2FA4 #8B46CA #A976D8 #C7A5E5

Accessibility & contrast

On white

5.49
#8B46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8B46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46CA#FFFFFF#000000##FFFFFF
##8B46CA1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#1E69C7
Tritanopia (blue-blind)
#7F6382
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b46ca;
/* rgb */ color: rgb(139, 70, 202);
/* oklch */ color: oklch(54.4% 0.198 304.6);
Tailwind
colors: {
  custom: {
    50: '#b17edb',
    500: '#8b46ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b46ca;
$custom-light: #b17edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46ca",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 271.364,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.19769,
    "h": 304.6
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#8B46CA
secondary
#B5D29A
accent
#DF4990
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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