#8A60DD#8A60DD

#8A60DD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.183 H 295.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A60DD
RGBrgb(138, 96, 221)
HSLhsl(260, 65%, 62%)
HSVhsv(260, 57%, 87%)
CMYKcmyk(37.6%, 56.6%, 0%, 13.3%)
CIE-LABlab(50.67, 44.16, -58.15)
CIE-LCHlch(50.67, 73.01, 307.21°)
OKLaboklab(59.33% 0.0798 -0.1651)
OKLCHoklch(59.33% 0.183 295.8)
XYZxyz(27.7119, 18.9890, 70.5978)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60DD #B3DD60
analogous
#6075DD #8A60DD #C960DD
triadic
#8A60DD #DD8A60 #60DD8A
tetradic
#8A60DD #DD6075 #B3DD60 #60DDC9
square
#8A60DD #DD6075 #B3DD60 #60DDC9
split-complementary
#8A60DD #DDC960 #75DD60
monochromatic
#4D22A0 #652ED2 #8A60DD #AF92E8 #D4C5F3

Accessibility & contrast

On white

4.38
#8A60DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A60DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60DD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60DD#FFFFFF#000000##000000
##8A60DD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E1
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#767A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a60dd;
/* rgb */ color: rgb(138, 96, 221);
/* oklch */ color: oklch(59.3% 0.183 295.8);
Tailwind
colors: {
  custom: {
    50: '#b18ee8',
    500: '#8a60dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a60dd;
$custom-light: #b18ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60dd",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 221
  },
  "hsl": {
    "h": 260.16,
    "s": 64.767,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.18339,
    "h": 295.8
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#8A60DD
secondary
#D4E3B5
accent
#CD1990
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60DD

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

Preview Lab → · Contrast checker → · Palette generator →

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