#8A46C0#8A46C0

#8A46C0 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.187 H 306.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A46C0
RGBrgb(138, 70, 192)
HSLhsl(273, 49%, 51%)
HSVhsv(273, 64%, 75%)
CMYKcmyk(28.1%, 63.5%, 0%, 24.7%)
CIE-LABlab(43.64, 50.79, -52.81)
CIE-LCHlch(43.64, 73.27, 313.88°)
OKLaboklab(53.61% 0.1118 -0.1494)
OKLCHoklch(53.61% 0.187 306.8)
XYZxyz(22.1838, 13.5896, 51.3133)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46C0 #7CC046
analogous
#4D46C0 #8A46C0 #C046B9
triadic
#8A46C0 #C08A46 #46C08A
tetradic
#8A46C0 #C04D46 #7CC046 #46B9C0
square
#8A46C0 #C04D46 #7CC046 #46B9C0
split-complementary
#8A46C0 #B9C046 #46C04D
monochromatic
#4A2368 #6A3396 #8A46C0 #A774D0 #C4A1DF

Accessibility & contrast

On white

5.65
#8A46C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8A46C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46C0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46C0#FFFFFF#000000##FFFFFF
##8A46C01.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#815F7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a46c0;
/* rgb */ color: rgb(138, 70, 192);
/* oklch */ color: oklch(53.6% 0.187 306.8);
Tailwind
colors: {
  custom: {
    50: '#b07dd4',
    500: '#8a46c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a46c0;
$custom-light: #b07dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46c0",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 192
  },
  "hsl": {
    "h": 273.443,
    "s": 49.194,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.18657,
    "h": 306.8
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#8A46C0
secondary
#AECC96
accent
#D94F8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A46C0

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

Preview Lab → · Contrast checker → · Palette generator →

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