#8A46BC#8A46BC

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

Color values

HEX#8A46BC
RGBrgb(138, 70, 188)
HSLhsl(275, 47%, 51%)
HSVhsv(275, 63%, 74%)
CMYKcmyk(26.6%, 62.8%, 0%, 26.3%)
CIE-LABlab(43.38, 49.86, -50.89)
CIE-LCHlch(43.38, 71.25, 314.41°)
OKLaboklab(53.34% 0.112 -0.1437)
OKLCHoklch(53.34% 0.182 307.9)
XYZxyz(21.7466, 13.4147, 49.0109)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46BC #78BC46
analogous
#4F46BC #8A46BC #BC46B3
triadic
#8A46BC #BC8A46 #46BC8A
tetradic
#8A46BC #BC4F46 #78BC46 #46B3BC
square
#8A46BC #BC4F46 #78BC46 #46B3BC
split-complementary
#8A46BC #B3BC46 #46BC4F
monochromatic
#492464 #693490 #8A46BC #A673CC #C3A0DD

Accessibility & contrast

On white

5.70
#8A46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46BC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46BC#FFFFFF#000000##FFFFFF
##8A46BC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#825E7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a46bc;
/* rgb */ color: rgb(138, 70, 188);
/* oklch */ color: oklch(53.3% 0.182 307.9);
Tailwind
colors: {
  custom: {
    50: '#b07dd1',
    500: '#8a46bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a46bc;
$custom-light: #b07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46bc",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 274.576,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.1822,
    "h": 307.9
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#8A46BC
secondary
#ABC995
accent
#D6518A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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