#8A60DF#8A60DF

#8A60DF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.186 H 295.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A60DF
RGBrgb(138, 96, 223)
HSLhsl(260, 66%, 63%)
HSVhsv(260, 57%, 87%)
CMYKcmyk(38.1%, 57%, 0%, 12.5%)
CIE-LABlab(50.80, 44.68, -59.08)
CIE-LCHlch(50.80, 74.07, 307.10°)
OKLaboklab(59.47% 0.0798 -0.1678)
OKLCHoklch(59.47% 0.186 295.4)
XYZxyz(27.9799, 19.0962, 72.0095)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60DF #B5DF60
analogous
#6075DF #8A60DF #CA60DF
triadic
#8A60DF #DF8A60 #60DF8A
tetradic
#8A60DF #DF6075 #B5DF60 #60DFCA
square
#8A60DF #DF6075 #B5DF60 #60DFCA
split-complementary
#8A60DF #DFCA60 #75DF60
monochromatic
#4C21A4 #652DD5 #8A60DF #AF93E9 #D5C6F4

Accessibility & contrast

On white

4.36
#8A60DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A60DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60DF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60DF#FFFFFF#000000##000000
##8A60DF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7AE3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#757B96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a60df;
/* rgb */ color: rgb(138, 96, 223);
/* oklch */ color: oklch(59.5% 0.186 295.4);
Tailwind
colors: {
  custom: {
    50: '#b18fea',
    500: '#8a60df',
    950: '#000000',
  },
}
SCSS
$custom: #8a60df;
$custom-light: #b18fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60df",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 259.843,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.18586,
    "h": 295.4
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A60DF

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

Preview Lab → · Contrast checker → · Palette generator →

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