#8A46D9#8A46D9

#8A46D9 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.214 H 300.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A46D9
RGBrgb(138, 70, 217)
HSLhsl(268, 66%, 56%)
HSVhsv(268, 68%, 85%)
CMYKcmyk(36.4%, 67.7%, 0%, 14.9%)
CIE-LABlab(45.35, 56.74, -64.47)
CIE-LCHlch(45.35, 85.89, 311.35°)
OKLaboklab(55.39% 0.1093 -0.1836)
OKLCHoklch(55.39% 0.214 300.8)
XYZxyz(25.1927, 14.7932, 67.1603)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46D9 #95D946
analogous
#464CD9 #8A46D9 #D346D9
triadic
#8A46D9 #D98A46 #46D98A
tetradic
#8A46D9 #D9464C #95D946 #46D9D3
square
#8A46D9 #D9464C #95D946 #46D9D3
split-complementary
#8A46D9 #D9D346 #4CD946
monochromatic
#4E1C89 #6B26BB #8A46D9 #AA79E3 #CAACEE

Accessibility & contrast

On white

5.30
#8A46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46D9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46D9#FFFFFF#000000##FFFFFF
##8A46D91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#79688A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a46d9;
/* rgb */ color: rgb(138, 70, 217);
/* oklch */ color: oklch(55.4% 0.214 300.8);
Tailwind
colors: {
  custom: {
    50: '#b27ee6',
    500: '#8a46d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a46d9;
$custom-light: #b27ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46d9",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 267.755,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.21371,
    "h": 300.8
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#8A46D9
secondary
#C0DC9F
accent
#E93F9A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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