#8A46C4#8A46C4

#8A46C4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.191 H 305.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A46C4
RGBrgb(138, 70, 196)
HSLhsl(272, 52%, 52%)
HSVhsv(272, 64%, 77%)
CMYKcmyk(29.6%, 64.3%, 0%, 23.1%)
CIE-LABlab(43.90, 51.72, -54.72)
CIE-LCHlch(43.90, 75.29, 313.39°)
OKLaboklab(53.89% 0.1115 -0.155)
OKLCHoklch(53.89% 0.191 305.7)
XYZxyz(22.6330, 13.7693, 53.6792)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46C4 #80C446
analogous
#4B46C4 #8A46C4 #C446BF
triadic
#8A46C4 #C48A46 #46C48A
tetradic
#8A46C4 #C44B46 #80C446 #46BFC4
square
#8A46C4 #C44B46 #80C446 #46BFC4
split-complementary
#8A46C4 #BFC446 #46C44B
monochromatic
#4B236D #6B329B #8A46C4 #A774D3 #C5A3E2

Accessibility & contrast

On white

5.59
#8A46C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A46C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46C4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46C4#FFFFFF#000000##FFFFFF
##8A46C41.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#80617F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a46c4;
/* rgb */ color: rgb(138, 70, 196);
/* oklch */ color: oklch(53.9% 0.191 305.7);
Tailwind
colors: {
  custom: {
    50: '#b07ed7',
    500: '#8a46c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a46c4;
$custom-light: #b07ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46c4",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 272.381,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.19093,
    "h": 305.7
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#8A46C4
secondary
#B1CE97
accent
#DB4D8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A46C4

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

Preview Lab → · Contrast checker → · Palette generator →

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