#8A5CA5#8A5CA5

#8A5CA5 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.120 H 312.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8A5CA5
RGBrgb(138, 92, 165)
HSLhsl(278, 29%, 50%)
HSVhsv(278, 44%, 65%)
CMYKcmyk(16.4%, 44.2%, 0%, 35.3%)
CIE-LABlab(46.68, 32.58, -32.16)
CIE-LCHlch(46.68, 45.78, 315.38°)
OKLaboklab(55.36% 0.0804 -0.0892)
OKLCHoklch(55.36% 0.12 312)
XYZxyz(21.0987, 15.7746, 37.5233)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CA5 #77A55C
analogous
#655CA5 #8A5CA5 #A55C9C
triadic
#8A5CA5 #A58A5C #5CA58A
tetradic
#8A5CA5 #A5655C #77A55C #5C9CA5
square
#8A5CA5 #A5655C #77A55C #5C9CA5
split-complementary
#8A5CA5 #9CA55C #5CA565
monochromatic
#483057 #69467E #8A5CA5 #A683BB #C3ABD1

Accessibility & contrast

On white

5.05
#8A5CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8A5CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CA5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CA5#FFFFFF#000000##FFFFFF
##8A5CA51.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA8
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#876779
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a5ca5;
/* rgb */ color: rgb(138, 92, 165);
/* oklch */ color: oklch(55.4% 0.120 312.0);
Tailwind
colors: {
  custom: {
    50: '#ad8bc0',
    500: '#8a5ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ca5;
$custom-light: #ad8bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ca5",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 277.808,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.12008,
    "h": 312
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#8A5CA5
secondary
#AABF9E
accent
#C56387
background
#FAF8FB
surface
#F4F0F7
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8A5CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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