#8A60BB#8A60BB

#8A60BB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.2% C 0.141 H 303.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A60BB
RGBrgb(138, 96, 187)
HSLhsl(268, 40%, 55%)
HSVhsv(268, 49%, 73%)
CMYKcmyk(26.2%, 48.7%, 0%, 26.7%)
CIE-LABlab(48.71, 35.50, -41.82)
CIE-LCHlch(48.71, 54.85, 310.33°)
OKLaboklab(57.24% 0.0778 -0.1173)
OKLCHoklch(57.24% 0.141 303.6)
XYZxyz(23.6318, 17.3569, 49.1093)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60BB #91BB60
analogous
#6063BB #8A60BB #B760BB
triadic
#8A60BB #BB8A60 #60BB8A
tetradic
#8A60BB #BB6063 #91BB60 #60BBB7
square
#8A60BB #BB6063 #91BB60 #60BBB7
split-complementary
#8A60BB #BBB760 #63BB60
monochromatic
#4E3070 #6B429B #8A60BB #AA8BCD #C9B6E0

Accessibility & contrast

On white

4.70
#8A60BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8A60BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60BB#FFFFFF#000000##FFFFFF
##8A60BB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#817085
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a60bb;
/* rgb */ color: rgb(138, 96, 187);
/* oklch */ color: oklch(57.2% 0.141 303.6);
Tailwind
colors: {
  custom: {
    50: '#ae8ed0',
    500: '#8a60bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a60bb;
$custom-light: #ae8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60bb",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 267.692,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57242,
    "c": 0.14075,
    "h": 303.6
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#8A60BB
secondary
#BDCEA8
accent
#D05899
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A60BB

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

Preview Lab → · Contrast checker → · Palette generator →

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