#8A46E8#8A46E8

#8A46E8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.230 H 297.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A46E8
RGBrgb(138, 70, 232)
HSLhsl(265, 78%, 59%)
HSVhsv(265, 70%, 91%)
CMYKcmyk(40.5%, 69.8%, 0%, 9%)
CIE-LABlab(46.46, 60.41, -71.20)
CIE-LCHlch(46.46, 93.37, 310.32°)
OKLaboklab(56.52% 0.1069 -0.2034)
OKLCHoklch(56.52% 0.23 297.7)
XYZxyz(27.2331, 15.6093, 77.9064)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46E8 #A4E846
analogous
#4653E8 #8A46E8 #DB46E8
triadic
#8A46E8 #E88A46 #46E88A
tetradic
#8A46E8 #E84653 #A4E846 #46E8DB
square
#8A46E8 #E84653 #A4E846 #46E8DB
split-complementary
#8A46E8 #E8DB46 #53E846
monochromatic
#4F14A0 #691BD6 #8A46E8 #AC7CEF #CFB3F6

Accessibility & contrast

On white

5.09
#8A46E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8A46E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46E8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46E8#FFFFFF#000000##FFFFFF
##8A46E81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#736E92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a46e8;
/* rgb */ color: rgb(138, 70, 232);
/* oklch */ color: oklch(56.5% 0.230 297.7);
Tailwind
colors: {
  custom: {
    50: '#b37ff0',
    500: '#8a46e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a46e8;
$custom-light: #b37ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46e8",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 265.185,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.22981,
    "h": 297.7
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#8A46E8
secondary
#CAE5A5
accent
#F433A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8A46E8

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

Preview Lab → · Contrast checker → · Palette generator →

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