#8A5FA0#8A5FA0

#8A5FA0 is a mid, moderate violet. Relative luminance 0.161; OKLCH L 55.6% C 0.109 H 313.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A5FA0
RGBrgb(138, 95, 160)
HSLhsl(280, 25%, 50%)
HSVhsv(280, 41%, 63%)
CMYKcmyk(13.8%, 40.6%, 0%, 37.3%)
CIE-LABlab(47.14, 29.72, -28.48)
CIE-LCHlch(47.14, 41.17, 316.22°)
OKLaboklab(55.63% 0.0749 -0.0787)
OKLCHoklch(55.63% 0.109 313.6)
XYZxyz(20.9176, 16.1262, 35.2616)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5FA0 #75A05F
analogous
#695FA0 #8A5FA0 #A05F96
triadic
#8A5FA0 #A08A5F #5FA08A
tetradic
#8A5FA0 #A0695F #75A05F #5F96A0
square
#8A5FA0 #A0695F #75A05F #5F96A0
split-complementary
#8A5FA0 #96A05F #5FA069
monochromatic
#483153 #69487A #8A5FA0 #A685B7 #C2ACCE

Accessibility & contrast

On white

4.97
#8A5FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8A5FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5FA0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5FA0#FFFFFF#000000##FFFFFF
##8A5FA01.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536DA2
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#886878
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a5fa0;
/* rgb */ color: rgb(138, 95, 160);
/* oklch */ color: oklch(55.6% 0.109 313.6);
Tailwind
colors: {
  custom: {
    50: '#ad8dbc',
    500: '#8a5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5fa0;
$custom-light: #ad8dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5fa0",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 279.692,
    "s": 25.49,
    "l": 50
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.1086,
    "h": 313.6
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#8A5FA0
secondary
#A9BC9F
accent
#C26685
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8A5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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