#8A60BF#8A60BF

#8A60BF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.146 H 302.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A60BF
RGBrgb(138, 96, 191)
HSLhsl(267, 43%, 56%)
HSVhsv(267, 50%, 75%)
CMYKcmyk(27.7%, 49.7%, 0%, 25.1%)
CIE-LABlab(48.92, 36.48, -43.79)
CIE-LCHlch(48.92, 57.00, 309.80°)
OKLaboklab(57.47% 0.0783 -0.123)
OKLCHoklch(57.47% 0.146 302.5)
XYZxyz(24.0660, 17.5306, 51.3960)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60BF #95BF60
analogous
#6066BF #8A60BF #BA60BF
triadic
#8A60BF #BF8A60 #60BF8A
tetradic
#8A60BF #BF6066 #95BF60 #60BFBA
square
#8A60BF #BF6066 #95BF60 #60BFBA
split-complementary
#8A60BF #BFBA60 #66BF60
monochromatic
#4E2F75 #6B41A1 #8A60BF #AA8CD1 #CAB7E2

Accessibility & contrast

On white

4.66
#8A60BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A60BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60BF#FFFFFF#000000##FFFFFF
##8A60BF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#807187
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a60bf;
/* rgb */ color: rgb(138, 96, 191);
/* oklch */ color: oklch(57.5% 0.146 302.5);
Tailwind
colors: {
  custom: {
    50: '#af8ed3',
    500: '#8a60bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a60bf;
$custom-light: #af8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60bf",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 191
  },
  "hsl": {
    "h": 266.526,
    "s": 42.601,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.14581,
    "h": 302.5
  },
  "luminance": 0.17531
}

Semantic roles & 50–950 ramp

primary
#8A60BF
secondary
#C0D1AA
accent
#D2559B
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A60BF

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

Preview Lab → · Contrast checker → · Palette generator →

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