#8A46BB#8A46BB

#8A46BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.181 H 308.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A46BB
RGBrgb(138, 70, 187)
HSLhsl(275, 46%, 50%)
HSVhsv(275, 63%, 73%)
CMYKcmyk(26.2%, 62.6%, 0%, 26.7%)
CIE-LABlab(43.32, 49.63, -50.41)
CIE-LCHlch(43.32, 70.74, 314.55°)
OKLaboklab(53.28% 0.112 -0.1423)
OKLCHoklch(53.28% 0.181 308.2)
XYZxyz(21.6392, 13.3718, 48.4451)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46BB #77BB46
analogous
#4F46BB #8A46BB #BB46B1
triadic
#8A46BB #BB8A46 #46BB8A
tetradic
#8A46BB #BB4F46 #77BB46 #46B1BB
square
#8A46BB #BB4F46 #77BB46 #46B1BB
split-complementary
#8A46BB #B1BB46 #46BB4F
monochromatic
#482462 #69358F #8A46BB #A673CB #C3A0DC

Accessibility & contrast

On white

5.72
#8A46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46BB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46BB#FFFFFF#000000##FFFFFF
##8A46BB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#835D7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a46bb;
/* rgb */ color: rgb(138, 70, 187);
/* oklch */ color: oklch(53.3% 0.181 308.2);
Tailwind
colors: {
  custom: {
    50: '#b07dd0',
    500: '#8a46bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a46bb;
$custom-light: #b07dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46bb",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 274.872,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.18112,
    "h": 308.2
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#8A46BB
secondary
#AAC894
accent
#D65289
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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