#8A60BC#8A60BC

#8A60BC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.3% C 0.142 H 303.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A60BC
RGBrgb(138, 96, 188)
HSLhsl(267, 41%, 56%)
HSVhsv(267, 49%, 74%)
CMYKcmyk(26.6%, 48.9%, 0%, 26.3%)
CIE-LABlab(48.76, 35.74, -42.31)
CIE-LCHlch(48.76, 55.39, 310.19°)
OKLaboklab(57.3% 0.078 -0.1187)
OKLCHoklch(57.3% 0.142 303.3)
XYZxyz(23.7392, 17.3999, 49.6751)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60BC #92BC60
analogous
#6064BC #8A60BC #B860BC
triadic
#8A60BC #BC8A60 #60BC8A
tetradic
#8A60BC #BC6064 #92BC60 #60BCB8
square
#8A60BC #BC6064 #92BC60 #60BCB8
split-complementary
#8A60BC #BCB860 #64BC60
monochromatic
#4E3072 #6B429D #8A60BC #AA8BCE #C9B6E0

Accessibility & contrast

On white

4.69
#8A60BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8A60BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60BC#FFFFFF#000000##FFFFFF
##8A60BC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a60bc;
/* rgb */ color: rgb(138, 96, 188);
/* oklch */ color: oklch(57.3% 0.142 303.3);
Tailwind
colors: {
  custom: {
    50: '#ae8ed0',
    500: '#8a60bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a60bc;
$custom-light: #ae8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60bc",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 267.391,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.14202,
    "h": 303.3
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#8A60BC
secondary
#BECFA9
accent
#D15799
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A60BC

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

Preview Lab → · Contrast checker → · Palette generator →

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