#8A55A6#8A55A6

#8A55A6 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.2% C 0.134 H 312.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8A55A6
RGBrgb(138, 85, 166)
HSLhsl(279, 32%, 49%)
HSVhsv(279, 49%, 65%)
CMYKcmyk(16.9%, 48.8%, 0%, 34.9%)
CIE-LABlab(45.16, 36.79, -35.14)
CIE-LCHlch(45.16, 50.87, 316.32°)
OKLaboklab(54.24% 0.0909 -0.0978)
OKLCHoklch(54.24% 0.134 312.9)
XYZxyz(20.6115, 14.6539, 37.8117)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55A6 #71A655
analogous
#6255A6 #8A55A6 #A6559A
triadic
#8A55A6 #A68A55 #55A68A
tetradic
#8A55A6 #A66255 #71A655 #559AA6
square
#8A55A6 #A66255 #71A655 #559AA6
split-complementary
#8A55A6 #9AA655 #55A662
monochromatic
#472C55 #68407E #8A55A6 #A67CBC #C2A5D1

Accessibility & contrast

On white

5.34
#8A55A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8A55A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55A6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55A6#FFFFFF#000000##FFFFFF
##8A55A61.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#876276
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a55a6;
/* rgb */ color: rgb(138, 85, 166);
/* oklch */ color: oklch(54.2% 0.134 312.9);
Tailwind
colors: {
  custom: {
    50: '#ae86c1',
    500: '#8a55a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a55a6;
$custom-light: #ae86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55a6",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 279.259,
    "s": 32.271,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.1335,
    "h": 312.9
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#8A55A6
secondary
#A6BE99
accent
#C85F84
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A55A6

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

Preview Lab → · Contrast checker → · Palette generator →

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