#8A46BD#8A46BD

#8A46BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.183 H 307.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A46BD
RGBrgb(138, 70, 189)
HSLhsl(274, 47%, 51%)
HSVhsv(274, 63%, 74%)
CMYKcmyk(27%, 63%, 0%, 25.9%)
CIE-LABlab(43.45, 50.09, -51.38)
CIE-LCHlch(43.45, 71.75, 314.27°)
OKLaboklab(53.41% 0.1119 -0.1452)
OKLCHoklch(53.41% 0.183 307.6)
XYZxyz(21.8548, 13.4580, 49.5806)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46BD #79BD46
analogous
#4E46BD #8A46BD #BD46B4
triadic
#8A46BD #BD8A46 #46BD8A
tetradic
#8A46BD #BD4E46 #79BD46 #46B4BD
square
#8A46BD #BD4E46 #79BD46 #46B4BD
split-complementary
#8A46BD #B4BD46 #46BD4E
monochromatic
#492465 #6A3492 #8A46BD #A773CD #C3A0DD

Accessibility & contrast

On white

5.69
#8A46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46BD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46BD#FFFFFF#000000##FFFFFF
##8A46BD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#825E7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a46bd;
/* rgb */ color: rgb(138, 70, 189);
/* oklch */ color: oklch(53.4% 0.183 307.6);
Tailwind
colors: {
  custom: {
    50: '#b07dd1',
    500: '#8a46bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a46bd;
$custom-light: #b07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46bd",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 274.286,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.1833,
    "h": 307.6
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#8A46BD
secondary
#ACCA95
accent
#D7518A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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