#8A60A2#8A60A2

#8A60A2 is a mid, moderate violet. Relative luminance 0.164; OKLCH L 55.9% C 0.109 H 312.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A60A2
RGBrgb(138, 96, 162)
HSLhsl(278, 26%, 51%)
HSVhsv(278, 41%, 64%)
CMYKcmyk(14.8%, 40.7%, 0%, 36.5%)
CIE-LABlab(47.47, 29.59, -29.15)
CIE-LCHlch(47.47, 41.54, 315.43°)
OKLaboklab(55.91% 0.0738 -0.0806)
OKLCHoklch(55.91% 0.109 312.5)
XYZxyz(21.1846, 16.3780, 36.2207)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60A2 #78A260
analogous
#6960A2 #8A60A2 #A26099
triadic
#8A60A2 #A28A60 #60A28A
tetradic
#8A60A2 #A26960 #78A260 #6099A2
square
#8A60A2 #A26960 #78A260 #6099A2
split-complementary
#8A60A2 #99A260 #60A269
monochromatic
#493256 #69497C #8A60A2 #A687B9 #C3ADCF

Accessibility & contrast

On white

4.91
#8A60A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8A60A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60A2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60A2#FFFFFF#000000##FFFFFF
##8A60A21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#886979
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a60a2;
/* rgb */ color: rgb(138, 96, 162);
/* oklch */ color: oklch(55.9% 0.109 312.5);
Tailwind
colors: {
  custom: {
    50: '#ad8ebe',
    500: '#8a60a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a60a2;
$custom-light: #ad8ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60a2",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 162
  },
  "hsl": {
    "h": 278.182,
    "s": 26.19,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55907,
    "c": 0.10926,
    "h": 312.5
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#8A60A2
secondary
#ABBEA0
accent
#C36587
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8A60A2

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

Preview Lab → · Contrast checker → · Palette generator →

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