#8A46D0#8A46D0

#8A46D0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.204 H 302.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A46D0
RGBrgb(138, 70, 208)
HSLhsl(270, 59%, 55%)
HSVhsv(270, 66%, 82%)
CMYKcmyk(33.7%, 66.3%, 0%, 18.4%)
CIE-LABlab(44.71, 54.57, -60.34)
CIE-LCHlch(44.71, 81.36, 312.12°)
OKLaboklab(54.73% 0.1104 -0.1715)
OKLCHoklch(54.73% 0.204 302.8)
XYZxyz(24.0539, 14.3376, 61.1625)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46D0 #8CD046
analogous
#4647D0 #8A46D0 #CF46D0
triadic
#8A46D0 #D08A46 #46D08A
tetradic
#8A46D0 #D04647 #8CD046 #46D0CF
square
#8A46D0 #D04647 #8CD046 #46D0CF
split-complementary
#8A46D0 #D0CF46 #47D046
monochromatic
#4D207C #6B2CAD #8A46D0 #A977DC #C8A8E9

Accessibility & contrast

On white

5.43
#8A46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A46D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46D0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46D0#FFFFFF#000000##FFFFFF
##8A46D01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#0769CD
Tritanopia (blue-blind)
#7C6585
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a46d0;
/* rgb */ color: rgb(138, 70, 208);
/* oklch */ color: oklch(54.7% 0.204 302.8);
Tailwind
colors: {
  custom: {
    50: '#b17edf',
    500: '#8a46d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a46d0;
$custom-light: #b17edf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46d0",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 269.565,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.20397,
    "h": 302.8
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#8A46D0
secondary
#B9D69C
accent
#E34595
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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