#8A60D2#8A60D2

#8A60D2 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.170 H 298.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A60D2
RGBrgb(138, 96, 210)
HSLhsl(262, 56%, 60%)
HSVhsv(262, 54%, 82%)
CMYKcmyk(34.3%, 54.3%, 0%, 17.6%)
CIE-LABlab(50.00, 41.30, -52.97)
CIE-LCHlch(50.00, 67.17, 307.94°)
OKLaboklab(58.63% 0.0796 -0.1499)
OKLCHoklch(58.63% 0.17 298)
XYZxyz(26.2941, 18.4218, 63.1307)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60D2 #A8D260
analogous
#606FD2 #8A60D2 #C360D2
triadic
#8A60D2 #D28A60 #60D28A
tetradic
#8A60D2 #D2606F #A8D260 #60D2C3
square
#8A60D2 #D2606F #A8D260 #60D2C3
split-complementary
#8A60D2 #D2C360 #6FD260
monochromatic
#4E298F #6836BF #8A60D2 #AD90DF #D0BFED

Accessibility & contrast

On white

4.48
#8A60D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A60D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60D2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60D2#FFFFFF#000000##000000
##8A60D21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3077D6
Deuteranopia (green-blind)
#3D76CF
Tritanopia (blue-blind)
#7A7790
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a60d2;
/* rgb */ color: rgb(138, 96, 210);
/* oklch */ color: oklch(58.6% 0.170 298.0);
Tailwind
colors: {
  custom: {
    50: '#b08ee0',
    500: '#8a60d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a60d2;
$custom-light: #b08ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60d2",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 210
  },
  "hsl": {
    "h": 262.105,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.16973,
    "h": 298
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#8A60D2
secondary
#CDDDB1
accent
#DF49A8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60D2

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

Preview Lab → · Contrast checker → · Palette generator →

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