#8A60D6#8A60D6

#8A60D6 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.175 H 297.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A60D6
RGBrgb(138, 96, 214)
HSLhsl(261, 59%, 61%)
HSVhsv(261, 55%, 84%)
CMYKcmyk(35.5%, 55.1%, 0%, 16.1%)
CIE-LABlab(50.24, 42.33, -54.87)
CIE-LCHlch(50.24, 69.30, 307.65°)
OKLaboklab(58.88% 0.0797 -0.1555)
OKLCHoklch(58.88% 0.175 297.2)
XYZxyz(26.7987, 18.6237, 65.7881)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60D6 #ACD660
analogous
#6071D6 #8A60D6 #C560D6
triadic
#8A60D6 #D68A60 #60D68A
tetradic
#8A60D6 #D66071 #ACD660 #60D6C5
square
#8A60D6 #D66071 #ACD660 #60D6C5
split-complementary
#8A60D6 #D6C560 #71D660
monochromatic
#4E2695 #6733C6 #8A60D6 #AE91E3 #D2C1EF

Accessibility & contrast

On white

4.44
#8A60D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A60D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60D6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60D6#FFFFFF#000000##000000
##8A60D61.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B78DA
Deuteranopia (green-blind)
#3976D3
Tritanopia (blue-blind)
#797892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a60d6;
/* rgb */ color: rgb(138, 96, 214);
/* oklch */ color: oklch(58.9% 0.175 297.2);
Tailwind
colors: {
  custom: {
    50: '#b08ee3',
    500: '#8a60d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a60d6;
$custom-light: #b08ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60d6",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 214
  },
  "hsl": {
    "h": 261.356,
    "s": 59,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.17472,
    "h": 297.2
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#8A60D6
secondary
#CFDFB3
accent
#C71F8B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8A60D6

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

Preview Lab → · Contrast checker → · Palette generator →

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