#8A46D8#8A46D8

#8A46D8 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.213 H 301.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A46D8
RGBrgb(138, 70, 216)
HSLhsl(268, 65%, 56%)
HSVhsv(268, 68%, 85%)
CMYKcmyk(36.1%, 67.6%, 0%, 15.3%)
CIE-LABlab(45.28, 56.50, -64.02)
CIE-LCHlch(45.28, 85.38, 311.43°)
OKLaboklab(55.31% 0.1094 -0.1823)
OKLCHoklch(55.31% 0.213 301)
XYZxyz(25.0631, 14.7413, 66.4774)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46D8 #94D846
analogous
#464BD8 #8A46D8 #D346D8
triadic
#8A46D8 #D88A46 #46D88A
tetradic
#8A46D8 #D8464B #94D846 #46D8D3
square
#8A46D8 #D8464B #94D846 #46D8D3
split-complementary
#8A46D8 #D8D346 #4BD846
monochromatic
#4E1C87 #6B27BA #8A46D8 #AA79E3 #CAABED

Accessibility & contrast

On white

5.32
#8A46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46D8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46D8#FFFFFF#000000##FFFFFF
##8A46D81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a46d8;
/* rgb */ color: rgb(138, 70, 216);
/* oklch */ color: oklch(55.3% 0.213 301.0);
Tailwind
colors: {
  custom: {
    50: '#b27ee5',
    500: '#8a46d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a46d8;
$custom-light: #b27ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46d8",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 267.945,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.21264,
    "h": 301
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#8A46D8
secondary
#BFDB9F
accent
#E8409A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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