#8A46BF#8A46BF

#8A46BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.185 H 307.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A46BF
RGBrgb(138, 70, 191)
HSLhsl(274, 49%, 51%)
HSVhsv(274, 63%, 75%)
CMYKcmyk(27.7%, 63.4%, 0%, 25.1%)
CIE-LABlab(43.57, 50.55, -52.34)
CIE-LCHlch(43.57, 72.76, 314.01°)
OKLaboklab(53.55% 0.1118 -0.148)
OKLCHoklch(53.55% 0.185 307.1)
XYZxyz(22.0734, 13.5454, 50.7318)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46BF #7BBF46
analogous
#4D46BF #8A46BF #BF46B7
triadic
#8A46BF #BF8A46 #46BF8A
tetradic
#8A46BF #BF4D46 #7BBF46 #46B7BF
square
#8A46BF #BF4D46 #7BBF46 #46B7BF
split-complementary
#8A46BF #B7BF46 #46BF4D
monochromatic
#492467 #6A3394 #8A46BF #A773CF #C4A1DE

Accessibility & contrast

On white

5.66
#8A46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46BF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46BF#FFFFFF#000000##FFFFFF
##8A46BF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#815F7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a46bf;
/* rgb */ color: rgb(138, 70, 191);
/* oklch */ color: oklch(53.5% 0.185 307.1);
Tailwind
colors: {
  custom: {
    50: '#b07dd3',
    500: '#8a46bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a46bf;
$custom-light: #b07dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46bf",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 273.719,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.18548,
    "h": 307.1
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#8A46BF
secondary
#ADCB96
accent
#D8508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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