#8A60B4#8A60B4

#8A60B4 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.9% C 0.132 H 305.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A60B4
RGBrgb(138, 96, 180)
HSLhsl(270, 36%, 54%)
HSVhsv(270, 47%, 71%)
CMYKcmyk(23.3%, 46.7%, 0%, 29.4%)
CIE-LABlab(48.34, 33.80, -38.33)
CIE-LCHlch(48.34, 51.10, 311.40°)
OKLaboklab(56.85% 0.0769 -0.1071)
OKLCHoklch(56.85% 0.132 305.7)
XYZxyz(22.9006, 17.0645, 45.2585)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60B4 #8AB460
analogous
#6060B4 #8A60B4 #B460B4
triadic
#8A60B4 #B48A60 #60B48A
tetradic
#8A60B4 #B46060 #8AB460 #60B4B4
square
#8A60B4 #B46060 #8AB460 #60B4B4
split-complementary
#8A60B4 #B4B460 #60B460
monochromatic
#4D3168 #6B4592 #8A60B4 #A98AC8 #C7B3DB

Accessibility & contrast

On white

4.76
#8A60B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8A60B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60B4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60B4#FFFFFF#000000##FFFFFF
##8A60B41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#836E81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a60b4;
/* rgb */ color: rgb(138, 96, 180);
/* oklch */ color: oklch(56.9% 0.132 305.7);
Tailwind
colors: {
  custom: {
    50: '#ae8ecb',
    500: '#8a60b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a60b4;
$custom-light: #ae8ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60b4",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 35.897,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.13188,
    "h": 305.7
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#8A60B4
secondary
#B8CAA6
accent
#CC5C94
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A60B4

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

Preview Lab → · Contrast checker → · Palette generator →

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