#8A46D6#8A46D6

#8A46D6 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.210 H 301.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A46D6
RGBrgb(138, 70, 214)
HSLhsl(268, 64%, 56%)
HSVhsv(268, 67%, 84%)
CMYKcmyk(35.5%, 67.3%, 0%, 16.1%)
CIE-LABlab(45.13, 56.02, -63.10)
CIE-LCHlch(45.13, 84.38, 311.59°)
OKLaboklab(55.16% 0.1097 -0.1796)
OKLCHoklch(55.16% 0.21 301.4)
XYZxyz(24.8061, 14.6385, 65.1239)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46D6 #92D646
analogous
#464AD6 #8A46D6 #D246D6
triadic
#8A46D6 #D68A46 #46D68A
tetradic
#8A46D6 #D6464A #92D646 #46D6D2
square
#8A46D6 #D6464A #92D646 #46D6D2
split-complementary
#8A46D6 #D6D246 #4AD646
monochromatic
#4E1D84 #6B28B6 #8A46D6 #AA78E1 #C9AAEC

Accessibility & contrast

On white

5.35
#8A46D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8A46D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46D6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46D6#FFFFFF#000000##FFFFFF
##8A46D61.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#7A6788
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a46d6;
/* rgb */ color: rgb(138, 70, 214);
/* oklch */ color: oklch(55.2% 0.210 301.4);
Tailwind
colors: {
  custom: {
    50: '#b27ee3',
    500: '#8a46d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a46d6;
$custom-light: #b27ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46d6",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 268.333,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.21047,
    "h": 301.4
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#8A46D6
secondary
#BEDA9E
accent
#E74199
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A46D6

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

Preview Lab → · Contrast checker → · Palette generator →

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