#8A60DE#8A60DE

#8A60DE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.185 H 295.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A60DE
RGBrgb(138, 96, 222)
HSLhsl(260, 66%, 62%)
HSVhsv(260, 57%, 87%)
CMYKcmyk(37.8%, 56.8%, 0%, 12.9%)
CIE-LABlab(50.74, 44.42, -58.61)
CIE-LCHlch(50.74, 73.54, 307.16°)
OKLaboklab(59.4% 0.0798 -0.1665)
OKLCHoklch(59.4% 0.185 295.6)
XYZxyz(27.8455, 19.0424, 71.3016)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60DE #B4DE60
analogous
#6075DE #8A60DE #C960DE
triadic
#8A60DE #DE8A60 #60DE8A
tetradic
#8A60DE #DE6075 #B4DE60 #60DEC9
square
#8A60DE #DE6075 #B4DE60 #60DEC9
split-complementary
#8A60DE #DEC960 #75DE60
monochromatic
#4C22A2 #652DD3 #8A60DE #AF93E9 #D5C5F3

Accessibility & contrast

On white

4.37
#8A60DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A60DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60DE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60DE#FFFFFF#000000##000000
##8A60DE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE2
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#767B96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a60de;
/* rgb */ color: rgb(138, 96, 222);
/* oklch */ color: oklch(59.4% 0.185 295.6);
Tailwind
colors: {
  custom: {
    50: '#b18ee9',
    500: '#8a60de',
    950: '#000000',
  },
}
SCSS
$custom: #8a60de;
$custom-light: #b18ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60de",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 222
  },
  "hsl": {
    "h": 260,
    "s": 65.625,
    "l": 62.353
  },
  "oklch": {
    "l": 0.594,
    "c": 0.18462,
    "h": 295.6
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#8A60DE
secondary
#D5E4B6
accent
#CD1891
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60DE

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

Preview Lab → · Contrast checker → · Palette generator →

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