#8A60D8#8A60D8

#8A60D8 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.177 H 296.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A60D8
RGBrgb(138, 96, 216)
HSLhsl(261, 61%, 61%)
HSVhsv(261, 56%, 85%)
CMYKcmyk(36.1%, 55.6%, 0%, 15.3%)
CIE-LABlab(50.37, 42.85, -55.81)
CIE-LCHlch(50.37, 70.36, 307.52°)
OKLaboklab(59.01% 0.0798 -0.1582)
OKLCHoklch(59.01% 0.177 296.8)
XYZxyz(27.0556, 18.7265, 67.1416)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60D8 #AED860
analogous
#6072D8 #8A60D8 #C660D8
triadic
#8A60D8 #D88A60 #60D88A
tetradic
#8A60D8 #D86072 #AED860 #60D8C6
square
#8A60D8 #D86072 #AED860 #60D8C6
split-complementary
#8A60D8 #D8C660 #72D860
monochromatic
#4E2598 #6731C9 #8A60D8 #AE91E4 #D2C2F0

Accessibility & contrast

On white

4.43
#8A60D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A60D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60D8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60D8#FFFFFF#000000##000000
##8A60D81.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2878DC
Deuteranopia (green-blind)
#3676D5
Tritanopia (blue-blind)
#787993
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a60d8;
/* rgb */ color: rgb(138, 96, 216);
/* oklch */ color: oklch(59.0% 0.177 296.8);
Tailwind
colors: {
  custom: {
    50: '#b08ee5',
    500: '#8a60d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a60d8;
$custom-light: #b08ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60d8",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 216
  },
  "hsl": {
    "h": 261,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.1772,
    "h": 296.8
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#8A60D8
secondary
#D1E0B3
accent
#C81D8C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60D8

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

Preview Lab → · Contrast checker → · Palette generator →

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