#8A46C9#8A46C9

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

Color values

HEX#8A46C9
RGBrgb(138, 70, 201)
HSLhsl(271, 55%, 53%)
HSVhsv(271, 65%, 79%)
CMYKcmyk(31.3%, 65.2%, 0%, 21.2%)
CIE-LABlab(44.23, 52.90, -57.08)
CIE-LCHlch(44.23, 77.82, 312.82°)
OKLaboklab(54.23% 0.1111 -0.1619)
OKLCHoklch(54.23% 0.196 304.5)
XYZxyz(23.2116, 14.0007, 56.7266)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46C9 #85C946
analogous
#4846C9 #8A46C9 #C946C7
triadic
#8A46C9 #C98A46 #46C98A
tetradic
#8A46C9 #C94846 #85C946 #46C7C9
square
#8A46C9 #C94846 #85C946 #46C7C9
split-complementary
#8A46C9 #C7C946 #46C948
monochromatic
#4C2273 #6B2FA2 #8A46C9 #A875D7 #C6A5E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A46C9#FFFFFF#000000##FFFFFF
##8A46C91.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)
#0067CD
Deuteranopia (green-blind)
#1E69C6
Tritanopia (blue-blind)
#7E6281
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a46c9;
/* rgb */ color: rgb(138, 70, 201);
/* oklch */ color: oklch(54.2% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#b17eda',
    500: '#8a46c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a46c9;
$custom-light: #b17eda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46c9",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 201
  },
  "hsl": {
    "h": 271.145,
    "s": 54.812,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.19637,
    "h": 304.5
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#8A46C9
secondary
#B4D299
accent
#DE4A91
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A46C9

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

Preview Lab → · Contrast checker → · Palette generator →

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