#8A60D1#8A60D1

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

Color values

HEX#8A60D1
RGBrgb(138, 96, 209)
HSLhsl(262, 55%, 60%)
HSVhsv(262, 54%, 82%)
CMYKcmyk(34%, 54.1%, 0%, 18%)
CIE-LABlab(49.94, 41.04, -52.50)
CIE-LCHlch(49.94, 66.63, 308.01°)
OKLaboklab(58.56% 0.0796 -0.1485)
OKLCHoklch(58.56% 0.168 298.2)
XYZxyz(26.1699, 18.3722, 62.4767)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60D1 #A7D160
analogous
#606FD1 #8A60D1 #C360D1
triadic
#8A60D1 #D18A60 #60D18A
tetradic
#8A60D1 #D1606F #A7D160 #60D1C3
square
#8A60D1 #D1606F #A7D160 #60D1C3
split-complementary
#8A60D1 #D1C360 #6FD160
monochromatic
#4E298E #6937BD #8A60D1 #AD8FDF #D0BFEC

Accessibility & contrast

On white

4.49
#8A60D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8A60D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60D1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60D1#FFFFFF#000000##000000
##8A60D11.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D5
Deuteranopia (green-blind)
#3E76CE
Tritanopia (blue-blind)
#7A778F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a60d1;
/* rgb */ color: rgb(138, 96, 209);
/* oklch */ color: oklch(58.6% 0.168 298.2);
Tailwind
colors: {
  custom: {
    50: '#b08ee0',
    500: '#8a60d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a60d1;
$custom-light: #b08ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60d1",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 209
  },
  "hsl": {
    "h": 262.301,
    "s": 55.122,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58562,
    "c": 0.16848,
    "h": 298.2
  },
  "luminance": 0.18372
}

Semantic roles & 50–950 ramp

primary
#8A60D1
secondary
#CCDCB1
accent
#DE49A7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60D1

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

Preview Lab → · Contrast checker → · Palette generator →

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